Part Number Hot Search : 
BFY181 40N06 C15111 SKIIP2 HER804FT FBC30A HSA1300D HER804FT
Product Description
Full Text Search
 

To Download PCF85263A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1. general description the PCF85263A is a cmos 1 real-time clock (rtc) and calendar optimized for low power consumption and with auto matic switching to battery on main power loss. the rtc can also be configured as a stop-watch (elapsed time counter). three time log registers triggered from battery switch-over as well as input driven events. fe aturing clock output and two independent interrupt signals, two alarms, i 2 c interface and quartz crystal calibration. for a selection of nxp real-time clocks, see table 72 on page 90 2. features and benefits ? ul recognized component ? provides year, month, day, weekday, ho urs, minutes, second s and 100th seconds based on a 32.768 khz quartz crystal ? stop-watch mode for elapsed time counting. from 100th seconds to 999999 hours ? two independent alarms ? battery back-up circuit ? watchdog timer ? three timestamp registers ? two independent interrupt generators plus predefined interrupts at every second, minute, or hour ? frequency adjustment via pr ogrammable offset register ? clock operating voltage: 0.9 v to 5.5 v ? low current; typical 0.28 ? aat v dd = 3.0 v and t amb =25 ? c ? 400 khz two-line i 2 c-bus interface (at v dd = 1.8 v to 5.5 v) ? programmable clock output for periphe ral devices (32.768 khz, 16.384 khz, 8.192 khz, 4.096 khz, 2.048 khz, 1.024 khz, and 1 hz) ? configurable oscillator circuit fo r a wide variety of quartzes: c l =6pf, c l = 7 pf, and c l = 12.5 pf 3. applications ? printers and copiers ? electronic metering ? digital cameras PCF85263A tiny real-time clo ck/calendar with ala rm function, battery switch-over, time stamp input, and i 2 c-bus rev. 2 ? 10 july 2014 product data sheet 1. the definition of the abbreviations and acronyms used in this data sheet can be found in section 24 .
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 2 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus ? white goods ? elapsed time counter ? network powered devices ? battery backed up systems ? data loggers ? digital voice recorders ? mobile equipment ? accurate high duration timer 4. ordering information [1] under development; release planned for q3/2014. 4.1 ordering options 5. marking table 1. ordering information type number package name description version PCF85263At [1] so8 plastic small outlin e package; 8 leads; body width 3.9 mm sot96-1 PCF85263Atl dfn2626-10 plastic thermal enhanced extremely thin small outline package; no leads; 10 terminals; body 2.6 ? 2.6 ? 0.5 mm sot1197-1 PCF85263Att [1] tssop8 plastic thin shrink small outline package; 8 leads; body width 3 mm sot505-1 PCF85263Att1 [1] tssop10 plastic thin shrink small outline package; 10 leads; body width 3 mm sot552-1 table 2. ordering options product type number orderable part number sales item (12nc) delivery form ic revision PCF85263At/a PCF85263At/aj 935302207118 tape and reel, 13 inch 1 PCF85263Atl/a PCF85263Atl/ax 935302602115 tape and reel, 7 inch 1 PCF85263Att/a PCF85263Att/aj 935304459118 tape and reel, 13 inch 1 PCF85263Att1/a PCF85263Att1/aj 935304461118 tape and reel, 13 inch 1 table 3. marking codes product type number marking code PCF85263At/a 85263a PCF85263Atl/a 263a PCF85263Att/a 263a PCF85263Att1/a 263a
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 3 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 6. block diagram (1) not available on all package types. fig 1. block diagram of PCF85263A ddd 3&)$ $odupfrqwuro e\wh5$0 ,  &lqwhuidfh $odup $odup 7lphvwdps 7lphvwdps 7lphvwdps 7lphvwdpsfrqwuro 6wrszdwfk frqwuro :dwfk'rj &/. jhqhudwlrq 2iivhw fdoleudwlrq +] txduw] rvfloodwru 7+vhfrqgv 6hfrqgv 0lqxwhv 57& 6wrszdwfk +rxuv +rxuv[[[[ +rxuv[[[[ +rxuv[[[[   :hhngd\v 'd\v 0rqwkv <hduv 0hfkdqlfdo vzlwfkghwhf 76  &/.,17% 6'$ 6&/ 966 9%$7 9'' &/.  ,17$ &/. 26&, 26&2 %dwwhu\vzlwfkryhu edwwbprgh 9 '' 9 %$7 9 7+ ,qwhuuxsw jhqhudwlrq 3xovh ohyho edwwbprgh ,qwhuuxsw jhqhudwlrq 3xovh ohyho $odupv 7lphvwdpsv 3hulrglflqwhuuxsw 2iivhwfdoleudwlrq :dwfk'rj %dwwhu\prgh 9 '' lqw 9 '' lqw
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 4 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 7. pinning information 7.1 pinning for mechanical details, see figure 44 on page 79 . fig 2. pin configuration for PCF85263At (so8) for mechanical details, see figure 45 on page 80 . fig 3. pin configuration for PCF85263Atl (dfn2626-10) for mechanical details, see figure 46 on page 81 . fig 4. pin configuration for PCF85263Att (tssop8) 3&)$7 26&,  9'' 26&2  ,17$ &/. 9%$7  6&/ 966  6'$ ddd whuplqdo lqgh[duhd 3&)$7/ 3&)$7/ 3&)$7/ 26&,  9'' 26&2  ,17$ &/. 9%$7  &/.  76 &/. ,17%  6&/ 966  6'$ ddd 7udqvsduhqwwrsylhz 3&)$77 3&)$77 3&)$77 26&,  9'' 26&2  ,17$ &/. 9%$7  6&/ 966  6'$ ddd
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 5 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus for mechanical details, see figure 47 on page 82 . fig 5. pin configuration for PCF85263Att1 (tssop10) 3&)$77 3&)$77 3&)$77 26&,  9'' 26&2  ,17$ &/. 9%$7  &/.  76 &/. ,17%  6&/ 966  6'$ ddd
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 6 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 7.2 pin description [1] connect to v dd if not used. [2] see table 7 and table 47 . [3] see table 7 and table 49 . table 4. pin description input or input/output pins must always be at a defined level (v ss or v dd ) unless otherwise specified. symbol pin type description PCF85263At (so8) PCF85263Atl (dfn2626-10) PCF85263Att (tssop8) PCF85263Att1 (tssop10) primary use secondary use osci 1 1 1 1 input oscillator input - osco 2 2 2 2 output oscillator output - vbat 3 3 3 3 supply battery backup supply voltage [1] - ts (clk/intb ) - 4- 4i n p u t / output can be configured with tspm[1:0] [2] timestamp input intb and clk output (push-pull); stop-watch control vss 4 5 4 5 supply ground supply voltage - sda5656input/ output serial data line - scl 6 7 6 7 input serial clock input - clk - 8 - 8 output clk (push-pull) - inta (clk) 7 9 7 9 output can be configured with intapm[1:0] [3] interrupt output (open-drain) clk output (open-drain) vdd 8 10 8 10 supply supply voltage -
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 7 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8. functional description the PCF85263A contains 8-bit registers for ti me information, for timestamp information and registers for system configuration. inclu ded is an auto-incrementing register address, an on-chip 32.768 khz oscillator with integr ated capacitors, a freq uency divider which provides the source clock for the real-time clock (rtc) and calender, and an i 2 c-bus interface with a maximum data rate of 400 kbit/s. the built-in address register will increment automatically after ea ch read or write of a data byte. after register 2fh, th e auto-incrementing will wrap around to address 00h (see figure 6 ). all registers (see table 5 on page 9 , table 6 on page 11 , and table 7 on page 13 ) are designed as addressable 8-bit parallel registers although not all bits are implemented. figure 7 gives an overview of the address map. fig 6. address register incrementing fig 7. register map ddd dgguhvvuhjlvwhu k dxwrlqfuhphqw zudsdurxqg k k k  'k (k )k  7lphuhjlvwhuv   $odupuhjlvwhuv  2iivhwuhjlvwhu 5$0e\wh :dwfkgrj 6wrsdqguhvhw  7lphvwdpsuhjlvwhuv   )xqfwlrqvhwwlqj  k k  k k  k k  k %k  k &k 'k (k )k ddd
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 8 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus the 100th seconds, seconds, minutes, hours, days, months, and years as well as the corresponding alarm registers are all coded in binary coded decimal (bcd) format. when one of the rtc registers is read, the contents of all time counters are frozen. therefore, faulty reading of the clock and calendar during a carry condition is prevented. 8.1 registers organization overview 8.1.1 time mode registers the PCF85263A has two time mode register sets, one for the real-time clock mode and one for the stopwatch clock mode. the access to these registers can be switched by the rtcm bit in the function control register (28h), see table 7 on page 13 and table 54 on page 55 . fig 8. time mode register set selection 57&0 uhdowlphforfnprgh uhjlvwhuvhw vwrszdwfkprgh uhjlvwhuvhw   ddd
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 9 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.1.1.1 rtc mode time registers overview (rtcm = 0) table 5. rtc mode time registers bit positions labeled as - are not implemented. after reset, all registers are set according to table 62 on page 59 . address register name bit reference 7 6 5 4 3 2 1 0 rtc time and date registers 00h 100th_seconds 100th_seconds (0 to 99) section 8.2 01h seconds os seconds (0 to 59) 02h minutes emon minutes (0 to 59) 03h hours - - ampm hours (1 to 12) in 12 hour mode hours (0 to 23) in 24 hour mode 04h days - - days (1 to 31) 05h weekdays - - - - - weekdays (0 to 6) 06h months - - - months (1 to 12) 07h years years (0 to 99) rtc alarm1 08h second_alarm1 - sec_alarm1 (0 to 59) section 8.4 09h minute_alarm1 - min_alarm1 (0 to 59) 0ah hour_alarm1 - - ampm hr_alarm1 (1 to 12) in 12 hour mode hr_alarm1 (0 to 23) in 24 hour mode 0bh day_alarm1 - - day_alarm1 (1 to 31) 0ch month_alarm1 - - - mon_alarm1 (1 to 12) rtc alarm2 0dh minute_alarm2 - min_alarm2 (0 to 59) section 8.4 0eh hour_alarm2 - - ampm hr_alarm2 (1 to 12) in 12 hour mode 0fh weekday_alarm 2 -----w d a y _ a l a r m 2 ( 0 t o 6 ) rtc alarm enables 10h alarm_enables wday_a2e hr_a2e min_a2e mon_a1e day_a1e hr_a1e min__a1e sec__a1e section 8.4
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 10 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus rtc timestamp1 (tsr1) 11h tsr1_seconds - tsr1_seconds (0 to 59) section 8.7 12h tsr1_minutes - tsr1_minutes (0 to 59) 13h tsr1_hours - - ampm tsr1_hours (1 to 12) in 12 hour mode tsr1_hours (0 to 23) in 24 hour mode 14h tsr1_days - - tsr1_days (1 to 31) 15h tsr1_months - - - tsr1_months (1 to 12) 16h tsr1_years tsr1_years (0 to 99) rtc timestamp2 (tsr2) 17h tsr2_seconds - tsr2_seconds (0 to 59) section 8.7 18h tsr2_minutes - tsr2_minutes (0 to 59) 19h tsr2_hours - - ampm tsr2_hours (1 to 12) in 12 hour mode tsr2_hours (0 to 23) in 24 hour mode 1ah tsr2_days - - tsr2_days (1 to 31) 1bh tsr2_months - - - tsr2_months (1 to 12) 1ch tsr2_years tsr2_years (0 to 99) rtc timestamp3 (tsr3) 1dh tsr3_seconds - tsr3_seconds (0 to 59) section 8.7 1eh tsr3_minutes - tsr3_minutes (0 to 59) 1fh tsr3_hours - - ampm tsr3_hours (1 to 12) in 12 hour mode tsr3_hours (0 to 23) in 24 hour mode 20h tsr3_days - - tsr3_days (1 to 31) 21h tsr3_months - - - tsr3_months (1 to 12) 22h tsr3_years tsr3_years (0 to 99) rtc timestamp mode control 23h tsr_mode tsr3m[1:0] - tsr2m[2:0] tsr1m[1:0] section 8.7 table 5. rtc mode time registers ?continued bit positions labeled as - are not implemented. after reset, all registers are set according to table 62 on page 59 . address register name bit reference 7 6 5 4 3 2 1 0
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 11 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.1.1.2 stop-watch mode time registers (rtcm = 1) table 6. stop-watch mode time registers bit positions labeled as - are not implemented. after reset, all registers are set according to table 62 on page 59 . address register name bit reference 7 6 5 4 3 2 1 0 stop-watch time registers 00h 100th_seconds 100th_seconds (0 to 99) section 8.3 01h seconds os seconds (0 to 59) 02h minutes emon minutes (0 to 59) 03h hours_xx_xx_00 hr_xx_xx_00 (0 to 99) 04h hours_xx_00_xx hr_xx_00_xx (0 to 99) 05h hours_00_xx_xx hr_00_xx_xx (0 to 99) 0 6 hn o t u s e d -------- 0 7 hn o t u s e d -------- stop-watch alarm1 08h second_alm1 - sec_alm1 (0 to 59) section 8.4 09h minute_alm1 - min_alm1 (0 to 59) 0ah hr_xx_xx_00_alm1 hr_xx_xx_00_alm1 (0 to 99) 0bh hr_xx_00_xx_alm1 hr_xx _00_xx_alm1 (0 to 99) 0ch hr_00_xx_xx_alm1 hr_00_xx_xx_alm1 (0 to 99) stop-watch alarm2 0dh minute_alm2 - min_alm2 (0 to 59) section 8.4 0eh hr_xx_00_alm2 hr_xx_00_alm2 (0 to 99) 0fh hr_00_xx_alm2 hr_00_xx_alm2 (0 to 99) stop-watch alarm enables 10h alarm_enables hr_00_xx _a2e hr_xx_00 _a2e min_a2e hr_00_xx _xx_a1e hr_xx_00 _xx_a1e hr_xx_xx _00_a1e min_a1e sec_a1e section 8.4
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 12 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus stop-watch timestamp1 (tsr1) 11h tsr1_seconds - tsr1_seconds (0 to 59) section 8.7 12h tsr1_minutes - tsr1_minutes (0 to 59) 13h tsr1_hr_xx_xx_00 tsr1_hr_xx_xx_00 (0 to 99) 14h tsr1_hr_xx_00_xx tsr1_hr_xx_00_xx (0 to 99) 15h tsr1_hr_00_xx_xx tsr1_hr_00_xx_xx (0 to 99) 1 6 hn o t u s e d -------- stop-watch timestamp2 (tsr2) 17h tsr2_seconds - tsr2_seconds (0 to 59) section 8.7 18h tsr2_minutes - tsr2_minutes (0 to 59) 19h tsr2_hr_xx_xx_00 tsr2_hr_xx_xx_00 (0 to 99) 1ah tsr2_hr_xx_00_xx tsr2_hr_xx_00_xx (0 to 99) 1bh tsr2_hr_00_xx_xx tsr2_hr_00_xx_xx (0 to 99) 1 c hn o t u s e d -------- stop-watch timestamp3 (tsr3) 1dh tsr3_seconds - tsr3_seconds (0 to 59) section 8.7 1eh tsr3_minutes - tsr3_minutes (0 to 59) 1fh tsr3_hr_xx_xx_00 tsr3_hr_xx_xx_00 (0 to 99) 20h tsr3_hr_xx_00_xx tsr3_hr_xx_00_xx (0 to 99) 21h tsr3_hr_00_xx_xx tsr3_hr_00_xx_xx (0 to 99) 2 2 hn o t u s e d -------- stop-watch timestamp mode control 23h tsr_mode tsr3m[1:0] - tsr2m[2:0] tsr1m[1:0] section 8.7 table 6. stop-watch mode time registers ?continued bit positions labeled as - are not implemented. after reset, all registers are set according to table 62 on page 59 . ?continued address register name bit reference 7 6 5 4 3 2 1 0
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 13 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.1.2 control registers overview table 7. control and function registers overview bit positions labeled as - are not implemented. after reset, all registers are set according to table 62 on page 59 . address register name bit reference 7 6 5 4 3 2 1 0 offset register 24h offset offset[7:0] section 8.8 control registers 25h oscillator clkiv offm 12_24 lowj oscd[1:0] cl[1:0] section 8.10 26h battery_switch - - - bsoff bsrr bsm[1:0] bsth section 8.11 27h pin_io clkpm tspull tsl tsim tspm[1:0] intapm[1:0] section 8.12 28h function 100th pi[1:0] rtcm stopm cof[2:0] section 8.13 29h inta_enable ilpa piea oiea a1iea a2iea tsriea bsiea wdiea section 8.9 2ah intb_enable ilpb pieb oieb a1ieb a2ieb tsrieb bsieb wdieb section 8.9 2bh flags pif a2f a1f wdf bsf tsr3f tsr2f tsr1f section 8.14 ram byte 2ch ram_byte b[7:0] section 8.6 watchdog registers 2dh watchdog wdm wdr[4:0] wds[1:0] section 8.5 stop 2eh stop_enable - - - - - - - stop section 8.16 reset 2fh resets cpr 0 1 0 sr 1 0 cts section 8.15
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 14 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.2 rtc mode time and date registers rtc mode is enabled by setting rtcm = 0. these registers are coded in the bcd format to simplify application use. default state is: time ? 00:00:00.00 date ? 2000 01 01 weekday ? saturday monitor bits ? os = 1, emon = 0 [1] the 100th_seconds register is only avai lable when the 100th mode is enabled, see section 8.13.1 . when the 100th mode is disabled, this register always returns 0. [2] hour mode is set by the 12_24 bit in the oscillator register, see section 8.10 on page 42 . [3] if the year counter contains a va lue, which is exactly divisible by 4, the pcf 85263a compensates for leap years by adding a 29th day to february. 8.2.1 definition of bcd the binary-coded decimal (bcd) is an encoding of numbers where each digit is represented by a separate bit field. each bit fiel d may only contain the values 0 to 9. in this way, decimal numbers and counting is implemented. example: 59 encoded as an entire number is represented by 3bh or 111011. in bcd the 5 is represented as 5h or 0101 and the 9 as 9h or 1001 which combines to 59h. table 8. time and date registers in rtc mode (rtcm = 0) bit positions labeled as - are not implemented and return 0 when read. address register name upper-digit (ten?s place) digit (unit place) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00h 100th_seconds [1] 0 to 9 0 to 9 01h seconds os 0 to 5 0 to 9 02h minutes emon 0 to 5 0 to 9 03h hours [2] - - ampm 0 to 1 0 to 9 0 to 2 0 to 9 04h days [3] - - 0 to 3 0 to 9 05h weekdays - - - - - 0 to 6 06h months - - - 0 to 1 0 to 9 07h years 0 to 9 0 to 9
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 15 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.2.2 os: oscillator stop when the oscillator of the PCF85263A is stopped, the os status bit is set. the oscillator can be stopped, for example, by connecting one of the osc illator pins osci or osco to ground. the oscillator is cons idered to be stopped during th e time between power-on and stable crystal resonance. this time can be in the range of 200 ms to 2 s depending on crystal type, temperature, and supply voltage. the status bit remains set until cleared by command (see figure 9 ). if the bit cannot be cleared, then the oscillator is not running. this method can be used to monitor the oscillator and to determine if the supply volt age has reduced to the point where oscillation fails. 8.2.3 emon: event monitor the emon can be used to monitor the status of all the flags in the flags register, see section 8.14 on page 57 . when one or more of the flags is set, then the emon bit returns a logic 1. the emon bit cannot be cleared. emon returns a logic 0 when all flags are cleared. see figure 22 on page 41 for a pictorial representation. table 9. bcd coding value in decimal upper-digit (ten?s place) digit (unit place) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00 00000000 01 00010001 02 00100010 : :::::::: 09 10011001 10 00000000 : :::::::: 98 10011000 99 10011001 fig 9. os status bit ddd w 26 dqgelwfdqqrwehfohduhg 9 '' rvfloodwlrq rvfloodwlrqqrzvwdeoh 26elwfohduhg e\vriwzduh 26elwvhwzkhq rvfloodwlrqvwrsv 26iodj 26 dqgelwfdqehfohduhg
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 16 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.2.4 definition of weekdays definition may be reassigned by the user. 8.2.5 definition of months table 10. weekday assignments day bit 2 1 0 sunday 0 0 0 monday 0 0 1 tuesday 0 1 0 wednesday 0 1 1 thursday 1 0 0 friday 1 0 1 saturday110 table 11. month assignments in bcd format month upper-digit (ten?s place) digit (unit place) bit 4 bit 3 bit 2 bit 1 bit 0 january 0 0 0 0 1 february 0 0 0 1 0 march 0 0 0 1 1 april00100 may00101 june00110 july00111 august01000 september 0 1 0 0 1 october10000 november10001 december10010
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 17 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.2.6 setting and reading the time in rtc mode figure 10 shows the data flow and data dependencies starting from the 100 hz clock tick. during read operations, the time counting ci rcuits (memory locations 00h through 07h) are copied into an output register. the rtc continues counting in the background. when reading or writing the time it is very im portant to make a read or write access in one go, that is, setting or reading 100th seconds through to years should be made in one single access. failing to comply with this method could re sult in the time becoming corrupted. as an example, if the time (seconds through to hours) is set in one access and then in a second access the date is set, it is possible that the time increments between the two accesses. a similar problem exists when reading. a roll-over may occur between reads thus giving the minutes from one moment and the hours from the next. before setting the time, the stop bit should be set and the prescalers should be cleared (see section 8.16 ? stop_enable register ? on page 60 ). an example of setting the time: 14 hours, 23 minutes and 19 seconds. ? i 2 c start condition ? i 2 c slave address + write (a2h) ? register address (2eh) ? write data (set stop, 01h) fig 10. data flow fo r the time function ddd 6(&21'6 +]wlfn 0,187(6 +2856 b '$<6 :((.'$< /($3<($5 &$/&8/$7,21 0217+6 <($56 7+b6(&21' 7+ +]wlfn
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 18 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus ? write data (clear prescaler, a4h) ? write data (100th seconds, 00h) ? write data (hours, 14h) ? write data (minutes, 23h) ? write data (seconds, 19h) ? i 2 c start condition ? i 2 c slave address + write (a2h) ? register address (2eh) ? write data (clear stop, 00h). time starts counting from this point ? i 2 c stop condition 8.3 stop-watch mode time registers these registers are coded in the bcd format to simplify application use. stop-watch mode is enabled by setting rtcm = 1. in stop-watch mode, the PCF85263A counts from 100th seconds to 99 9999 hours. there are no days, weekdays, months or year registers. default state is: time ? 000000:00:00.00 monitor bits ? os = 1, emon = 0 (see section 8.2.2 on page 15 and section 8.2.3 on page 15 ) [1] the 100th_seconds register is only av ailable when the 100th mode is enabled, see section 8.13.1 on page 54 . when the 100th mode is disabled, th is register always returns 0. 8.3.1 setting and reading the time in stop-watch mode figure 11 shows the data flow and data dependencies starting from the 100 hz clock tick. during read operations, the time counting ci rcuits (memory locations 00h through 07h) are copied into an output register. the rtc continues counting in the background. table 12. time registers in stop-watch mode (rtcm = 1) bit positions labeled as - are not implemented and return 0 when read. address register name upper-digit (ten?s place) digit (unit place) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 00h 100th_seconds [1] 0 to 9 0 to 9 01h seconds os 0 to 5 0 to 9 02h minutes emon 0 to 5 0 to 9 03h hours_xx_xx_00 0 to 9 0 to 9 04h hours_xx_00_xx 0 to 9 0 to 9 05h hours_00_xx_xx 0 to 9 0 to 9 06hnot used -------- 07hnot used --------
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 19 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus when reading or writing the time it is very im portant to make a read or write access in one go, that is, setting or reading 100th_seconds through to hr_00_xx_xx should be made in one single access. failing to comply with this method could result in the time becoming corrupted. as an example, if the seconds value is set in one access and then in a following access the minutes value is set, it is possible that the time increments between the two accesses. a similar problem exists when reading. a roll-over may occur between reads thus giving the seconds from one moment and the minutes from the next. 8.4 alarms there are two independent alarms. each is separately configured and may be used to generate an interrupt. in rtc mode, an alarm is configured for time and date. in stop-watch mode when the rtc is functioning as an elapsed time counter, an alarm is configured for time only. 8.4.1 alarms in rtc mode in rtc mode, alarm 1 can be configured from seconds to months. alarm 2 operates on minutes, hours and weekday. each segment of the time is independently enabled. alarms can be output on the inta and intb pins. 8.4.1.1 alarm1 and alarm2 registers in rtc mode setting the time for alarm1: only the informat ion which is relevant for the alarm condition must to be programmed. the unused parts are ignored. fig 11. data flow for th e stop-watch function ddd 6(&21'6 +]wlfn 0,187(6 +5b;;b;;b +5b;;bb;; +5bb;;b;; 7+b6(&21'6 7+ +]wlfn
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 20 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.4.1.2 alarm1 and alarm2 control in rtc mode table 13. alarm1 and alarm2 registers in rtc mode coded in bcd (rtcm = 0) bit positions labeled as - are not implemented. address register name upper-digit (ten?s place) digit (unit place) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 rtc alarm1 registers 08h second_alarm1 - 0 to 5 0 to 9 09h minute_alarm1 - 0 to 5 0 to 9 0ah hour_alarm1 - - ampm 0 to 1 0 to 9 0 to 2 0 to 9 0bh day_alarm1 - - 0 to 3 0 to 9 0ch month_alarm1 - - - 0 to 1 0 to 9 rtc alarm2 registers 0dh minute_alarm2 - 0 to 5 0 to 9 0eh hour_alarm2 - - ampm 0 to 1 0 to 9 0 to 2 0 to 9 0fhweekday_alarm2-----0 to 6 table 14. alarm_enables- alarm enable control register (address 10h) bit description bit symbol value description rtc alarm2 7 wday_a2e weekday alarm2 enable 0 [1] disabled 1 enabled 6hr_a2e hour alarm2 enable 0 [1] disabled 1 enabled 5 min_a2e minute alarm2 enable 0 [1] disabled 1 enabled rtc alarm1 4 mon_a1e month alarm1 enable 0 [1] disabled 1 enabled 3day_a1e day alarm1 enable 0 [1] disabled 1 enabled 2hr_a1e hour alarm1 enable 0 [1] disabled 1 enabled
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 21 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus [1] default value. 8.4.1.3 alarm1 and alarm2 function in rtc mode the registers at addresses 08h through 0ch contain alarm1 information. when one or more of these registers is loaded with second, minute, hour, day, or month, and its corresponding alarm enable bit (sec_a1e to mon_a1e) is set logic 1, then that information is compared with the current second, minute, hour, day, and month. the registers at addresses 0dh through 0f h contain alarm2 information. when one or more of these registers is loaded with minute, hour or weekday, and its corresponding alarm enable bit (min_a2e to wday_a2e) is set logic 1, then that information is compared with the current minute, hour and weekday. alarm registers which have their alar m enable bit at logic 0 are ignored. when the time increments to match the enabled alarms, the alarm flag in the flags register ( section 8.14 on page 57 ) is set. a1f for alarm1 and a2f for alarm2. the alarm flag is cleared by command. when the time increments to match the enabled alarms, an interrupt can be generated. see section 8.4.3 ? alarm interrupts ? . 1 min_a1e minute alarm1 enable 0 [1] disabled 1 enabled 0 sec_a1e second alarm1 enable 0 [1] disabled 1 enabled table 14. alarm_enables- alarm enable control register (address 10h) bit description ?continued bit symbol value description
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 22 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus (1) only when all enabled alarm settings are matching. the flag is set only on increment to a matched case (and not all the time it is equal). fig 12. alarm1 and alarm2 function block diagram (rtc mode) ddd 6(&21' $/$50 6(&21'7,0( 6(&b$(   6(&b$(  h[dpsoh 0,187($/$50 0,187(7,0( 0,1b$( +285$/$50 +2857,0( +5b$( vhwdodupiodj$)  '$<$/$50 '$<7,0( '$<b$( 0217+$/$50 0217+7,0( 021b$( fkhfnqrzvljqdo   0,1b$(  h[dpsoh 0,187($/$50 0,187(7,0( 0,1b$( +5b$( vhwdodupiodj$)  :'$<b$( fkhfnqrzvljqdo +285$/$50 +2857,0( :((.'$ <$/$50 :((.'$<7,0(
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 23 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.4.2 alarms in stop-watch mode in stop-watch mode, alarm 1 can be configured from seconds to 999999 hours. alarm 2 operates on minutes up to 9999 hours. 8.4.2.1 alarm1 and alarm2 re gisters in stop-watch mode setting the time for alarm1 and alarm2: only the information which is relevant for the alarm condition must to be programmed. the unused parts are ignored. 8.4.2.2 alarm1 and alarm2 control in stop-watch mode table 15. alarm1 and alarm2 registers in stop-watch mode coded in bcd (rtcm = 1) bit positions labeled as - are not implemented. address register name upper-digit (ten?s place) digit (unit place) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 stop-watch alarm1 registers 08h second_alm1 - 0 to 5 0 to 9 09h minute_alm1 - 0 to 5 0 to 9 09h hr_xx_xx_00_alm1 0 to 9 0 to 9 0bh hr_xx_00_xx_alm1 0 to 9 0 to 9 0ch hr_00_xx_xx_alm1 0 to 9 0 to 9 stop-watch alarm2 registers 0dh minute_alm2 - 0 to 5 0 to 9 0eh hr_xx_00_alm2 0 to 9 0 to 9 0fh hr_00_xx_alm2 0 to 9 0 to 9 table 16. alarm_enables- alarm enable control register (address 10h) bit description bit symbol value description stop-watch alarm2 7 hr_00_xx_a2e thousands of hours alarm2 enable 0 [1] disabled 1 enabled 6 hr_xx_00_a2e tens of hours alarm2 enable 0 [1] disabled 1 enabled 5 min_a2e minute alarm2 enable 0 [1] disabled 1 enabled stop-watch alarm1 4 hr_00_xx_xx_a1e 100 thousands of hours alarm1 enable 0 [1] disabled 1 enabled 3 hr_xx_00_xx_a1e thousands of hours alarm1 enable 0 [1] disabled 1 enabled
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 24 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus [1] default value. 8.4.2.3 alarm1 and alarm2 function in stop-watch mode the registers at addresses 08h through 0ch contain alarm1 information. when one or more of these registers is loaded with second, minute, and hours, and its corresponding alarm enable bit (sec_a1e to hr_00_xx_xx_a1e) is set logic 1, then that information is compared with the current second, minute, and hours. the registers at addresses 0dh through 0f h contain alarm2 information. when one or more of these registers is loaded with mi nute and hours, and its corresponding alarm enable bit (min_a2e to hr_00_xx_a2e) is set logic 1, then that information is compared with the current minute and hours. alarm registers which have their alar m enable bit at logic 0 are ignored. when the time increments to match the enabled alarms, the alarm flag in the flags register ( section 8.14 on page 57 ) is set. a1f for alarm1 and a2f for alarm2. the alarm flag is cleared by command. when the time increments to match the enabled alarms, an interrupt can be generated. see section 8.4.3 ? alarm interrupts ? . 2 hr_xx_xx_00_a1e tens of hour alarm1 enable 0 [1] disabled 1 enabled 1 min_a1e minute alarm1 enable 0 [1] disabled 1 enabled 0 sec_a1e second alarm1 enable 0 [1] disabled 1 enabled table 16. alarm_enables- alarm enable control register (address 10h) bit description ?continued bit symbol value description
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 25 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.4.3 alarm interrupts the generation of interrupts from the alarm functions is controlled via the alarm interrupt enable bits; a1iea, a1ieb, a2iea, a2ieb. these bits are in registers inta_enable (address 29h) and intb_enable (address 2ah). (1) only when all enabled alarm settings are matching. the flag is set only on increment to a matched case (and not all the time it is equal). fig 13. alarm1 and alarm2 function block diagram (stop-watch mode) ddd 6(&21'$/$50 6(&21'7,0( 6(&b$(   6(&b$(  h[dpsoh 0,187($/$50 0,187(7,0( 0,1b$( +5b[[b[[b $/$50 [[b[[b+285 7,0( +5b[[b[[bb$( vhwdodupiodj$)  +5b[[bb[[ $/$50 [[bb[[+285 7,0( +5b[[bb[[b$( +5bb[[b[[ $/$50 b[[b[[+285 7,0( +5bb[[b[[b$( fkhfnqrzvljqdo   0,1b$(  h[dpsoh 0,187($/$50 0,187(7,0( 0,1b$( +5b[[b$/$50 [[b[[b+285 7,0( +5b[[bb$( vhwdodupiodj$)  +5bb[[$/$50 [[bb[[+2857,0( +5bb[[b$( fkhfnqrzvljqdo
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 26 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus the assertion of flags a1f or a2f can be used to generate an interrupt at the pins inta and intb . the interrupt may be generated as a pulse signal every time the time increments to match the alarm setting or as a permanently active signal which follows the condition of bit a1f and/or a2f. see section 8.9 on page 38 for interrupt control. a1f and a2f remain set until cleared by comm and. once an alarm flag has been cleared, it will only be set again when the time increm ents to match the alarm condition once more. when an interrupt pin is configured to pulse mode and if an alarm flag is not cleared and the time increments to match the alarm condit ion again, then a repeated interrupt pulse will be generated. 8.5 watchdog [1] default value. 8.5.1 watchdog functions the watchdog has four selectable step sizes allowing for periods in the range from 62.5 ms to 124 seconds. for periods greater than 2 minutes, the alarm function can be used. (1) [1] time periods can be affected by correction pulses. table 17. watchdog - watchdog control and register (address 2dh) bit description bit symbol value description 7wdm watchdog mode 0 [1] single shot 1 repeat mode 6 to 2 wdr[4:0] watchdog register bits 0h [1] to 1fh write: watchdog counter load value 0h to 1fh read: current counter value 1 to 0 wds[1:0] watchdog step size (source clock) 00 [1] 4 seconds (0.25 hz) 01 1 second (1 hz) 10 1 4 second (4 hz) 11 1 16 second (16 hz) table 18. watchdog durations wds[1:0] watchdog step size [1] delay minimum watchdog duration wdr = 1 maximum watchdog duration wdr = 31 00 4 s 4 s 124 s 01 1 s 1 s 31 s 10 1 4 s 0.25 s 7.75 s 11 1 16 s 0.0625 s 1.9375 s watchdog - duration wdr stepsize ? =
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 27 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus remark: note that all timings are generated from the 32.768 khz oscillator and are based on the assumption that there is 0 ppm deviat ion. deviation in osc illator frequency results in deviation in timings. this is not applicable to interface timing. the watchdog counts down from a software-loaded 5-bit binary value, wdr[4:0], in register watchdog. loading the counter with 0 stops the watchdog. loading the counter with a non-0 value starts the counter. values from 1 to 31 are allowed. if a new value of wdr[4:0] is written before the end of the current watchdog period, then this value takes immediate effect. when starting the timer for the first time or when reloading wdr[4:0] before the end of the current period, the first period has an uncert ainty of maximum one count. the uncertainty is a result of loading the w dr[4:0] from the interface clock which is asynchronous from the watchdog source clock. subsequent watc hdog periods do not have such variation. reading the watchdog register returns the current value of the watchdog counter (see figure 14 ) and not the initial value wdr[4:0]. since it is not possible to freeze the watchdog counter during read back, it is recommended to read the register twice and check for consistent results. 8.5.1.1 watchdog repeat mode in repeat mode, at the end of every watchdog period, the wa tchdog flag (bit wdf in the flags register, section 8.14 on page 57 ) is set and the counter automatically reloads and starts the next watchdog period. an example is given in figure 14 . the asserted bit wdf can be used to generate an interrupt. bit wdf can only be cleared by command. 8.5.1.2 watchdog single shot mode in single shot mode, at the end of the coun tdown period, the watchdog flag (bit wdf in the flags register, section 8.14 on page 57 ) is set and the counter stops with the value 0. the watchdog register must be reloaded to start another watchdog period. in this example, it is assumed that the wa tchdog flag (wdf) is clear ed before the next watchdog period expires and that the interrupt output is set to pulsed mode. fig 14. watchdog repeat mode ddd           :'5frxqwv :'5frxqwv   frxqwgrzqydoxh:'5 :dwfk'rjforfn frxqwhu :') ,17$ru,17% gxudwlrqriiluvw:dwfk'rjshulrgdiwhuvwduw pd\udqjhiurp:'5wr:'5frxqwv 
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 28 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.5.1.3 watchdog interrupts the generation of interrupts from the watchdog functions is controlled via the watchdog interrupt enable bits; wdiea and wdieb. these bits are in registers inta_enable (address 29h) and intb_enable (address 2ah). the assertion of the flag wdf can be used to generate an interrupt at pins inta and intb . the interrupt may be generated as a pulsed signal every time the watchdog counter reaches the end of the countdown period. alternatively as a permanently active signal which follows the condition of bit wdf. wdf remains set until cleared by command. when enabled, interrupts are triggered every time the watchdog counter reaches the end of the countdown period and even if the wdf is not cleared, an interrupt pulse can be generated. see section 8.9 on page 38 for interrupt control. 8.6 ram byte [1] default value. the PCF85263A provides a free ram byte, which can be used for any purpose, for example, status bits of the system. 8.7 timestamps there are three timestamp registers which can be independently configured to record the time for battery switch -over events and/or transitions on the ts pin. each timestamp register has an associated flag. it is also possible to generate an interrupt signal for every timestamp register update. fig 15. watchdog single shot mode ddd          frxqwgrzqydoxh:'5 :dwfk'rjforfn frxqwhu :') ,17$ru,17% gxudwlrqri:dwfk'rjshulrgdiwhuvwduw pd\udqjhiurp:'5wr:'5frxqwv  table 19. ram_byte - 8-bit ram regist er (address 2ch) bit description bit symbol value description 7 to 0 b[7:0] 00000000 [1] to 11111111 ram content
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 29 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus timestamps work in both rtc and stop-watch mode. during battery operation, the mechanical switch detector may also be used to trigger the timestamp. the timestamp registers are read only and cannot be written. it is possible to set all three registers to 0 with the cts instruction in the resets register ( section 8.15 on page 58 ). the mode for each register is controlled by the tsr_mode register. fig 16. timestamp wlphuuhjlvwhuv 57&prgh vhfrqgv plqxwhv  \hduv vwrszdwfkprgh vhfrqgv plqxwhv  krxuv wlphvwdps uhjlvwhu 765 wlphvwdps uhjlvwhu 765 wlphvwdps uhjlvwhu 765 76slq edwwhu\ vzlwfkryhu prgh 7650>@ prgh 7650>@ prgh 7650>@ iodj 765) iodj 765) iod j 765 ) ordg ordg ordg ordg ddd
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 30 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus [1] default value. first event means that the time is only stored on the first event and not recorded for subsequent events. when the first event occu rs, the associated timestamp flag is set. when the flag is cleared, then a new ?first? event is recorded. see figure 17 and figure 18 . last event means that the time is stored on ev ery event. when an event occurs, the associated timestamp flag is set. it is not ne cessary to clear the flag before a new event is recorded. interrupts can be generated in inta pin and/or intb pin. interrupts are generated every time a timestamp register is updated. interrupt generation is not conditional on the state of the timestamp flags. see section 8.7.1 . table 20. tsr_mode - timestamp mode control register (address 23h) bit description bit symbol value description timestamp3 (tsr3) 7 to 6 tsr3m[1:0] timestamp register 3 mode 00 [1] no timestamp 01 fb, record f irst time switch to b attery event 10 lb, record l ast time switch to b attery event 11 lv, record l ast time switch to v dd event 5 - 0 not used timestamp2 (tsr2) 4 to 2 tsr2m[2:0] timestamp register 2 mode 000 [1] no timestamp 001 fb, record f irst time switch to b attery event 010 lb, record l ast time switch to b attery event 011 lv, record l ast time switch to v dd event 100 fe, record f irst ts pin e vent 101 le, record l ast ts pin event 110 to 111 no timestamp timestamp1 (tsr1) 1 to 0 tsr1m[1:0] timestamp register 1 mode 00 [1] no timestamp 01 fe, record f irst ts pin e vent 10 le, record l ast ts pin event 11 no timestamp
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 31 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus the recorded time is stored in the asso ciated timestamp register. the time format depends on the rtc mode. the timestamp regist ers follows the time format of the time registers. fig 17. example battery switch-over timestamp vrxufhri srzhu 9 '' srzhu edwwhu\srzhu 9 '' srzhu edwwhu\srzhu 9 '' srzhu w w w w w )%/% /9 )%/% /9 /% qrfkdqjh 765 w 765 vhwwrodvwwlph vzlwfkwr9 '' /9 765 vhwwriluvwwlph vzlwfkwredwwhu\ )% qrfkdqjh 765 w qrfkdqjh 765 w 765 w qrfkdqjh qrfkdqjh qrfkdqjh hyhqww\sh hyhqwwlph ddd wlphvwdpsiodj 765) iodjfohduhge\lqwhuidfh (1) ts pin set to active high (tsl = 0), see register pin_io (address 27h), section 8.12 . fig 18. example ts pin driven timestamp 76slq  w w w w w )(/( /( /( )(/( /( 765 w 765 w 765vhwwrodvw 76slqhyhqw/( 765vhwwriluvw 76slqhyhqw)( 765 w 765 w 765 w 765 w qrfkdqjh qrfkdqjh qrfkdqjh 765 w hyhqww\sh hyhqwwlph ddd wlphvwdpsiodj 765) iodjfohduhge\lqwhuidfh
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 32 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus table 21. timestamp registers in rtc mode (rtcm = 0) bit positions labeled as - are not implemented and return 0 when read. address register name upper-digit (ten?s place) digit (unit place) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 rtc timestamp1 (tsr1) 11h tsr1_seconds - 0 to 5 0 to 9 12h tsr1_minutes - 0 to 5 0 to 9 13h tsr1_hours - - ampm 0 to 1 0 to 9 0 to 2 0 to 9 14h tsr1_days - - 0 to 3 0 to 9 15h tsr1_months - - - 0 to 1 0 to 9 16h tsr1_years 0 to 9 0 to 9 rtc timestamp2 (tsr2) 17h tsr2_seconds - 0 to 5 0 to 9 18h tsr2_minutes - 0 to 5 0 to 9 19h tsr2_hours - - ampm 0 to 1 0 to 9 0 to 2 0 to 9 1ah tsr2_days - - 0 to 3 0 to 9 1bh tsr2_months - - - 0 to 1 0 to 9 1ch tsr2_years 0 to 9 0 to 9 rtc timestamp3 (tsr3) 1dh tsr3_seconds - 0 to 5 0 to 9 1eh tsr3_minutes - 0 to 5 0 to 9 1fh tsr3_hours - - ampm 0 to 1 0 to 9 0 to 2 0 to 9 20h tsr3_days - - 0 to 3 0 to 9 21h tsr3_months - - - 0 to 1 0 to 9 22h tsr3_years 0 to 9 0 to 9
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 33 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.7.1 timestamps interrupts the generation of interrupts from the timestamp functions is controlled via the timestamp interrupt enable bits; tsriea and tsrieb. t hese bits are in registers inta_enable (address 29h) and intb_enable (address 2ah). the loading of new informati on into one of the timestamp registers can be used to generate an interrupt at pins inta and intb . the interrupt may be generated as a pulsed signal every time a timestamp register upda tes or as a permanently active signal which follows the condition of timestamp flags, tsr1f to tsr3f. the timestamp flags remain set until cleared by command. when enabled, interrupts are triggered every ti me a timestamp register updates and even if the associated flag is not cleared, an interrupt pulse can be generated. see section 8.9 on page 38 for interrupt control. table 22. timestamp registers in stop-watch mode (rtcm = 1) bit positions labeled as - are not implemented and return 0 when read. address register name upper-digit (ten?s place) digit (unit place) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 stop-watch timestamp1 (tsr1) 11h tsr1_seconds - 0 to 5 0 to 9 12h tsr1_minutes - 0 to 5 0 to 9 13h tsr1_hr_xx_xx_00 0 to 9 0 to 9 14h tsr1_hr_xx_00_xx 0 to 9 0 to 9 15h tsr1_hr_00_xx_xx 0 to 9 0 to 9 16hnot used -------- stop-watch timestamp2 (tsr2) 17h tsr2_seconds - 0 to 5 0 to 9 18h tsr2_minutes - 0 to 5 0 to 9 19h tsr2_hr_xx_xx_00 0 to 9 0 to 9 1ah tsr2_hr_xx_00_xx 0 to 9 0 to 9 1bh tsr2_hr_00_xx_xx 0 to 9 0 to 9 1chnot used -------- stop-watch timestamp3 (tsr3) 1dh tsr3_seconds - 0 to 5 0 to 9 1eh tsr3_minutes - 0 to 5 0 to 9 1fh tsr3_hr_xx_xx_00 0 to 9 0 to 9 20h tsr3_hr_xx_00_xx 0 to 9 0 to 9 21h tsr3_hr_00_xx_xx 0 to 9 0 to 9 22hnot used --------
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 34 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.8 offset register the PCF85263A incorporates an offset register (address 24h) which can be used to implement several functions, such as: ? accuracy tuning ? aging adjustment ? temperature compensation there are two modes which define the correc tion period, normal mode and fast mode. the normal mode is suitable for offset trimming. the fast mode is suitable for dynamic offset correction e.g. implementing a temper ature correction. the fast mode consumes more current. offset mode is defined by bit offm in the oscillator register ( section 8.10 ). [1] default value. for offm = 0, each lsb introduces an offset of 2.170 ppm. for offm = 1, each lsb introduces an offset of 2.0345 ppm. the offset value is coded in two?s complement giving a range of +127 lsb to ? 128 lsb, see table 25 . [1] default value. table 23. offset - offset register (address 24h) bit description bit symbol value description 7 to 0 offset[7:0] see ta b l e 2 5 offset value table 24. offm bit - oscillator control register (address 25h) see section 8.10 on page 42 . bit symbol value description 6offm offset mode bit 0 [1] normal mode: correction is made every 4 hours; 2.170 ppm/step 1 fast mode: correction is made once every 8 minutes;2.0345 ppm/step table 25. offset values offset[7:0] offset value in decimal offset value in ppm normal mode offm = 0 fast mode offm = 1 01111111 +127 +275.590 +258.3815 01111110 +126 +273.420 +256.3470 :: : : 00000010 +2 +4.340 +4.0690 00000001 +1 +2.170 +2.0345 00000000 [1] 00 [1] 0 [1] 11111111 ? 1 ? 2.170 ? 2.0345 11111110 ? 2 ? 4.340 ? 4.0690 :: : : 10000001 ? 127 ? 275.590 ? 258.3815 10000000 ? 128 ? 277.760 ? 260.416
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 35 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus the correction is made by adding or subtra cting clock correction pulses, thereby changing the period of a single second but not by changing the oscillator frequency. it is possible to monitor when correction pulses are applied. see section 8.8.4 . 8.8.1 correction when offm = 0 the correction is triggered once every four hours and then correction pulses are applied once per minute until the programmed correction values have been implemented. 8.8.2 correction when offm = 1 the correction is triggered once every ei ght minutes and then correction pulses are applied once per second until the programmed correction values have been implemented. clock correction is made more frequently in offm = 1; however, this can result in higher power consumption. table 26. correction pulses for offm = 0 correction value every n th hour actual minute +1 or ? 14 00 +2 or ? 2 4 00 and 01 +3 or ? 3 4 00, 01, and 02 ::: +59 or ? 59 4 00 to 58 +60 or ? 60 4 00 to 59 +61 or ? 61 4 00 to 59 4+1 00 +62 or ? 62 4 00 to 59 4 + 1 00 and 01 ::: +123 or ? 123 4 00 to 59 4 + 1 00 to 59 4 + 2 00, 01, and 02 ? 128 4 00 to 59 4 + 1 00 to 59 4 + 2 00 to 07
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 36 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus table 27. correction pulses for offm = 1 correction value every n th minute actual second +1 or ? 18 00 +2 or ? 2 8 00 and 01 +3 or ? 3 8 00, 01, and 02 ::: +59 or ? 59 8 00 to 58 +60 or ? 60 8 00 to 59 +61 or ? 61 8 00 to 59 8+1 00 +62 or ? 62 8 00 to 59 8 + 1 00 and 01 ::: +123 or ? 123 8 00 to 59 8 + 1 00 to 59 8 + 2 00, 01, and 02 ? 128 8 00 to 59 8 + 1 00 to 59 8 + 2 00 to 07
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 37 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.8.3 offset calibration workflow the calibration offset has to be calculated based on the time. figure 19 shows the workflow how the offset register values can be calculated: fig 19. offset calibratio n calculation workflow 0hdvxuhwkhiuhtxhqf\rqslq&/.287  i phdv &rqyhuwwrwlph w phdv  i phdv &dofxodwhwkhgliihuhqfhwrwkhlghdo shulrgri ' phdv  w phdv & dofxodwhwkhsspghyldwlrqfrpsduhg wrwkhphdvxuhgydoxh ( ssp  ?' phdv w phdv &dofxodwhwkhriivhwuhjlvwhuydoxh 2))0  orzsrzhu  2iivhwydoxh ( ssp  2))0  idvwfruuhfwlrq 2iivhwydoxh ( ssp  ddd vdpsohfdofxodwlrq +] ?v ?v ssp  fruuhfwlrqsxov hv duhqhhghg  fruuhfwlrqsxov hv duhqhhghg
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 38 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.8.4 offset interrupts the generation of interrupts from the offset fu nctions is controlled via the offset interrupt enable bits; oiea and oieb. these bits are in registers inta_enable (address 29h) and intb_enable (address 2ah). every time a correction pulse is made an in terrupt pulse can be generated at pins inta and intb . as there is no offset calibration flag, it is only possible to generate pulse interrupts. see section 8.9 on page 38 for interrupt control. 8.9 interrupts there are two interrupt output pins, inta and intb . both pins have the same possible sources and a dedicated register to contro l what is output. the pins can be used independently from each other. inta data is output on the inta pin. inta is an interrupt output pin with open-drain drive. inta pin mode is controlled by intapm[1 :0] bits in the pin_io register ( section 8.12 on page 50 ). intb data is output on ts pin with push-pull driv e. the ts pin must first be configured as intb output by setting tsio[1:0] bi ts in the pin_io register ( section 8.12 on page 50 ). interrupts will only be output wh en the pin mode is correctly defined. interrupts are output from the ic as active low signals. the registers inta_enable (address 29h) and intb_enable (address 2ah) are used to select which interrupts shou ld be output on which pin. with the offset calibration an accuracy of ? 1 ppm (0.5 ? offset per lsb) can be reached (see table 25 ). ? 1 ppm corresponds to a time deviation of 0.0864 seconds per day. (1) 4 correction pulses in offm = 0 correspond to ? 8.680 ppm. (2) 4 correction pulses in offm = 1 correspond to ? 8.138 ppm. (3) reachable accuracy zone. fig 20. result of offset calibration            ddd    phdvxuhgfdofxodwhg ghyldwlrqssp ghyldwlrqdiwhu fruuhfwlrqlq 2))0  ssp ghyldwlrqdiwhu fruuhfwlrqlq 2))0  ssp 
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 39 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus [1] default value. 8.9.1 ilpa/ilpb: interrupt level or pulse mode interrupts can be configured to generate a pul se or to send a continuous level (permanent signal) which follows the state of the flag. in pulse mode, an inte rrupt pulse is generated every time that the selected source triggers. triggered means table 28. inta and intb interrupt control bits bit 7 6 5 4 3 2 1 0 inta_enable - inta pin enable control (address 29h) symbol ilpa piea oiea a1iea a2iea tsriea bsiea wdiea intb_enable - intb pin enable control (address 2ah) symbol ilpb pieb oieb a1ieb a2ieb tsrieb bsieb wdieb table 29. definition of interrupt control bits bit symbol value description inta intb 7 ilpa ilpb level or pulse mode 0 [1] interrupt generates a pulse 1 interrupt follows flags (permanent signal) 6 piea pieb periodic interrupt enable 0 [1] no periodic interrupt generated 1 periodic interrupt generated 5oieaoieb offset correction interrupt enable 0 [1] no correction interrupt generated 1 interrupt generated from correction 4 a1iea a1ieb alarm1 interrupt enable 0 [1] no alarm interrupt generated 1 alarm interrupt generated 3 a2iea a2ieb alarm2 interrupt enable 0 [1] no alarm interrupt generated 1 alarm interrupt generated 2 tsriea tsrieb timestamp register interrupt enable 0 [1] no timestamp register interrupt generated 1 timestamp register interrupt generated 1 bsiea bsieb battery switch interrupt enable 0 [1] no battery switch interrupt generated 1 battery switch interrupt generated 0wdieawdieb watchdog inte rrupt enable 0 [1] no watchdog interrupt generated 1 watchdog interrupt generated
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 40 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus ? for periodic interrupts, every time a period has elapsed ? for offset correction, every time a correction pulse is initiated ? for alarms, every time the time in crements to match the alarm time ? for timestamps, every time a register updates ? for battery switch, every time the ic switches to or from battery ? for watchdog, every time the counter reaches the end of its count the interrupt signal goes active coincident wi th the triggering event. the signal is cleared by an internal 128 hz clock. the internal cloc k is asynchronous to the triggering event and so the pulse duration has a minimum period of one 128 hz cycle and a maximum of two 128 hz cycles. interrupt pulses may be shorte ned by clearing the flag before the end of the pulse period. in level mode, the interrupt signal follows the state of the flag. only interrupts which are enabled will affect the pin state. all enabled fl ags must be cleared fo r the interrupt signal to be cleared. the emon is used only for monitoring all flags and can be read back in the minutes register. see section 8.2.3 on page 15 . 8.9.2 interrupt enable bits the remainder of the bits in register inta_enable (address 29h) and register intb_enable (address 2ah) are used to select which interrupt data goes where. see figure 22 ? interrupt selection ? fig 21. interrupt pulse width wuljjhuhyhqw ddd lqwhuuxsw iodj +]forfn 0lqlpxp lqwhuuxsw shulrg 0d[lpxp lqwhuuxsw shulrg )odjgrhvqrwqhhgwrehfohduhg irulqwhuuxswvwrehjhqhudwhg
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 41 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus fig 22. interrupt selection %6,($ %6,(% 2,($ 2,(% $odup $odup %dwwhu\vzlwfk 2iivhw fdoleudwlrq :dwfk'rj 3hulrglf lqwhuuxsw 7lphvwdps )odj3,) vhw fohdu )odj765) vhw vhw vhw vhw vhw vhw vhw fohdu )odj765) fohdu )odj%6) fohdu )odj$) fohdu )odj$) fohdu 25 +] 3xovhjhqhudwru wuljjhu ,17% gdwd ,17$ gdwd (021 ,/3%   ,/3$   )odj v fohduhg e\frppdqg :',($ :',(% )odj:') fohdu )odj765) fohdu 7lphvwdps 765,($ 765,(% 7lphvwdps ddd fohdu +] 3xovhjhqhudwru wuljjhu fohdu %6,($ %6,(% :',($ :',(% 76,($ 76,(% 3,($ 3,(% 3,($ 3,(% $,($ $,(% $,($ $,(% $,($ $,(% $,($ $,(%
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 42 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.10 oscillator register 8.10.1 clkiv: invert the clock output [1] default value. the clock selected with the co f[2:0] bits (register function, address 28h) can be inverted. this is intended for use in conjun ction with the low jitter mode, lowj. the low jitter mode reduces the jitter for the rising edge of the output clock. if the reduced jitter needs to be on the falling edge , for example when using an op en-drain clock output, then the clkiv bit can be used to implement this. 8.10.2 offm: offset calibration mode see section 8.8 ? offset register ? on page 34 for a full description of offset calibration. 8.10.3 12_24: 12 hour or 24 hour clock [1] default value. in rtc mode, time counting can be configured for 24 hour clock or 12 hour clock with the ampm flag. this bit is ignored in stop-watch mode. 8.10.4 lowj: low jitter mode [1] default value. table 30. oscillator - oscillator control register (address 25h) bit description bit 7 6 5 4 3 2 1 0 symbol clkiv offm 12_24 lowj oscd[1:0] cl[1:0] section section 8.16 section 8.8 section 8.10.3 section 8.10.4 section 8.10.5 section 8.10.6 table 31. clkiv bit - oscillator control register (address 25h) bit symbol value description 7clkiv output clock inversion 0 [1] non-inverting; lowj mode will affect rising edge 1 inverted; lowj mode will affect falling edge table 32. 12_24 bit - oscillator control register (address 25h) bit symbol value description 5 12_24 12 hour or 24 hour mode 0 [1] 24 hour mode is selected 1 12 hour mode is selected table 33. lowj bit - oscillator control register (address 25h) bit symbol value description 4lowj low jitter clk output bit 0 [1] normal 1 reduced clk output jitter; increase i dd
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 43 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus oscillator circuits suffer from jitter. in particular, ultra low-power oscillators like the one used in the PCF85263A are optimized for power and not jitter. by setting the lowj bit, the jitter performance can be improved at the cost of power consumption. 8.10.5 oscd[1:0]: quartz oscillator drive control [1] default value. the oscillator is designed to be used with quartz with a se ries resistance up to 100 k ? . this covers the typical range of 32.768 khz quartz crystals. series resistance is also referred to as: esr, moti onal resistance, or r s . a low drive mode is available for low series resistance quartz. this reduces the current consumption. for very high series resistance quartz, ther e is a high drive mode. current consumption increases substantially in this mode. 8.10.6 cl[1:0]: quartz oscillator load capacitance [1] default value. c l refers to the load capacitance of the oscilla tor circuit and allows for a certain amount of package and pcb parasitic capacitance. when the oscillator circuit matches the c l parameter of the quartz, then the frequency offset is zero. the PCF85263A is designed to operate with quartz with c l values of 6.0 pf, 7.0 pf and 12.5 pf. 12.5 pf are generally the cheapest and most widely available, but also require the most power to drive. the circuit also operates with 9.0 pf quartz, however the offset calibration would be needed to compensate. if a 9.0 pf quartz is used, then it is recommended to set c l to 7.0 pf. table 34. oscd[1:0] bits - oscillator control register (address 25h) bit symbol value description 3 to 2 oscd[1:0] oscillator drive bit s 00 [1] normal drive; r s(max) : 100 k ? 01 low drive; r s(max) : 60 k ? ; reduced i dd 10, 11 high drive; r s(max) : 500 k ? ; increased i dd table 35. cl[1:0] bits - oscillator control register (address 25h) bit symbol value description 1 to 0 cl[1:0] internal oscillator capacitor selection for quartz crystals with the corresponding load capacitance of c l : 00 [1] 7.0 pf 01 6.0 pf 10 12.5 pf 11 12.5 pf
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 44 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.11 battery switch register this register configures the battery switch-over mode. associated with the battery switch-over is th e battery switch flag (bsf) in the flags register ( section 8.14 on page 57 ). whenever the ic switches to battery operation, the flag is set. the flag can only be read when operating from v dd power, however an interrupt pulse or static low signal can be generated whenever switching to battery. an interrupt pulse can also be generated when switching back to v dd power. examples are given in figure 24 and figure 25 . when switched to battery, the v dd power domain is disabl ed. this means that i 2 c pins are ignored, clk output is disabled and hi-z, ts pi n output mode is disabled and hi-z, ts digital input is ignored and may be left floating. ts pin mechanical switch detector is active. inta output is still active for? interrupt ? output ? and ? battery ? switch ? indication, ? but? disabled ? for? clock ? output . 8.11.1 bsoff: battery switch on/off control [1] default value. the battery switch circuit may be disabled wh en not used. this disables all the circuit and save power consumption. when disabled connect v bat and v dd together. table 36. io pin behavior in battery mode io pin (mode) v dd operation v bat operation scl active input disabled; may be left floating sda active input/output disabled; may be left floating clk active output disabled; hi-z ts (output mode) active output disabled; hi-z ts (digital input) active input disabled; may be left floating ts (mechanical switch input) active input active input inta active output active interrupt output table 37. battery_switch - battery switch control (address 26h) bit description bit 7 6 5 4 3 2 1 0 symbol - - - bsoff bsrr bsm[1:0] bsth section --- section 8.11.1 section 8.11.2 section 8.11.3 section 8.11.4 table 38. bsoff bit - battery switch control (address 26h) bit description bit symbol value description 4 bsoff battery switch on/off 0 [1] enable battery switch feature 1 disable battery switch feature
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 45 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.11.2 bsrr: battery switch internal refresh rate [1] default value. non-user bit. recommended to leave set at default. 8.11.3 bsm[1:0]: battery switch mode [1] default value. switching is automatic and controlled by the voltages on the vbat and vdd pins. there are three modes: ? compare v dd with an internal reference (v th ) ? compare v dd with v bat ? compare v dd with an internal reference (v th ) and v bat the last mode is useful when a rechargeable battery is employed. due to the nature of the power switch circuit there is a switching hysteresis (see figure 23 and table 68 ). table 39. bsrr bit - battery switch control (address 26h) bit description bit symbol value description 3 bsrr battery switch refresh rate 0 [1] low 1high table 40. bsm[1:0] bits - battery switch control (address 26h) bit description bit symbol value description 2 to 1 bsm[1:0] battery switch mode bits 00 [1] switching at the v th level 01 switching at the v bat level 10 switching at the higher level of v th or v bat 11 switching at the lower level of v th or v bat table 41. battery switch-over modes bsm[1:0] condition internal power 00 v dd > v th v dd v dd < v th v bat 01 v dd > v bat v dd v dd < v bat v bat 10 v dd > the higher of v th or v bat v dd v dd < the higher of v th or v bat v bat 11 v dd > the lower of v th or v bat v dd v dd < the lower of v th or v bat v bat
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 46 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.11.3.1 switching at the v th level, bsm[1:0] = 00 fig 23. threshold voltage switching hysteresis 9 '' lqfuhdvlqj 9 '' ghfuhdvlqj vzlwfklqjsrlqw k\vwhuhvlv 9 '' w edwwhu\rshudwlrq vzlwfkwredwwhu\ vzlwfkwr9 '' 9 '' rshudwlrq 9 '' rshudwlrq 9 wk orz 9 wk kljk pd[ w\s plq 57 &srzhu vxsso\ ddd fig 24. switching at v th ddd lqwhuqdosrzhuvxsso\ fohduhgyldlqwhuidfh %6) 9 wk 9 ' '  9 9 %$7 9 '' ,17$ edwwhu\prghlqglfdwlrq lqwhuidfhdfwlyh lqwhuidfhlqdfwlyh lqwhuidfhdfwlyh ,  &
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 47 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.11.3.2 switching at the v bat level, bsm[1:0] = 01 fig 25. switching at v bat ddd lqwhuqdosrzhuvxsso\ fohduhgyldlqwhuidfh %6) 9 wk 9 ' '  9 9 %$7 9 '' ,17$ edwwhu\prghlqglfdwlrq lqwhuidfhdfwlyh lqwhuidfhlqdfwlyh lqwhuidfhdfwlyh ,  &
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 48 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.11.3.3 switching at the higher of v bat or v th level, bsm[1:0] = 10 with this mode switching takes place when v dd falls below the higher of v th or v bat . in figure 26 , an example is given where the threshold is set to 1.5 v and a single cell battery is connected to vbat. in this example, swit ching to the battery voltage takes place when v dd falls below v th . fig 26. switching at the higher of v bat or v th ddd lqwhuqdosrzhuvxsso\ fohduhgyldlqwhuidfh %6) 9 wk  9 9 ''  9 9 % $7  9 9 '' ,17$ edwwhu\prghlqglfdwlrq lqwhuidfhdfwlyh lqwhuidfhlqdfwlyh lqwhuidfhdfwlyh ,  &
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 49 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.11.3.4 switching at the lower of v bat and v th level, bsm[1:0] = 11 with this mode switching takes place when v dd falls below the lower of v th or v bat . in figure 27 , an example is given where the threshold is set to 1.5 v and a single cell battery is connected to vbat. in this example, swit ching to the battery voltage takes place when v dd falls below v bat . 8.11.4 bsth: threshold voltage control [1] default value. the threshold for battery switch -over is selectable between two voltages, 1.5 v and 2.8 v. 8.11.5 battery switch interrupts the generation of interrupts from the battery sw itch function is controlled via the battery switch interrupt enable bits; bsiea and bsieb. these bits are in registers inta_enable (address 29h) and intb_enable (address 2ah). the assertion of the flag bsf (register flags, address 2bh) can be used to generate an interrupt at pins inta and intb . the interrupt may be generated as a pulsed signal or alternatively as a permanently active signal which follows the condition of bit bsf. bsf remains set until cleared by command. fig 27. switching at the lower of v bat or v th ddd lqwhuqdosrzhuvxsso\ fohduhgyldlqwhuidfh %6) 9 wk  9 9 ''  9 9 % $7  9 9 '' ,17$ edwwhu\prghlqglfdwlrq lqwhuidfhdfwlyh lqwhuidfhlqdfwlyh lqwhuidfhdfwlyh ,  & table 42. bsth - battery switch cont rol (address 26h) bit description bit symbol value description 0 bsth battery switch threshold voltage, v th 0 [1] v th = 1.5 v 1v th = 2.8 v
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 50 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus when enabled, interrupts are triggered every time the battery switch circuit switches to either battery or to v dd and even if the bsf is not cleared, an interrupt pulse can be generated. in addition, the inta pin can be configured as a battery mode indicator (intapm[1:0] = 00). see section 8.12.6 on page 52 . this mode differs from a general interrupt signal in that it is only controlled by the current battery switch status. see section 8.9 on page 38 for interrupt control. remark: intb pin is only active when the ic is operating from v dd . 8.12 pin_io register this register is used to define th e input and output modes of the ic. 8.12.1 clkpm: clk pin mode control [1] clk pin is not available on all package types. [2] default value. setting the clkpm bit disables the clk output and force the pin to drive out a logic 0. clearing this bit enables the pad to output the selected clock frequency (see bits cof[2:0] in the function register, see table 51 on page 54 ). 8.12.2 tspull: ts pin pull-up resistor value [1] default value. controls the pull-up resistor value used in the mechanical switch detector. for applications where there is a large capacitance on the ts pin e.g. from a long connecting cable to the mechanical switch, the pull-up re sistor value can be halved to improve switch detection. using the low-resistance value increases curr ent consumption when the switch is closed i.e. shorting to v ss . table 43. pin_io- pin input output control register (address 27h) bit description bit 7 6 5 4 3 2 1 0 symbol clkpm tspull tsl tsim tspm[1:0] intapm[1:0] section section 8.12.1 section 8.12.2 section 8.12.3 section 8.12.5 section 8.12.4 section 8.12.6 table 44. clkpm bit - pin_io control register (address 27h) bit symbol value description 7clkpm [1] clk pin mode 0 [2] enable clk pin 1 disable clk pin table 45. tspull bit - pin_io control register (address 27h) bit symbol value description 6 tspull ts pin pull-up resistor value 0 [1] 80 k ? 140 k ?
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 51 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.12.3 tsl: ts pin level sense [1] default value. the active state of the ts pin can be defined for use as a timestamp trigger and/or as stop control for the time counting. active high implies a transition from logic 0 to logic 1 is active. active low implies a transition from logic 1 to logic 0 is active. 8.12.4 tspm[1:0]: ts pin i/o control [1] default value. these bits control the ope ration of the ts pin. tsim is only considered when the ts pin is in input mode. 8.12.4.1 ts pin output mode; intb it is possible to output intb data on the ts pin. the output is push-pull. no output is available when on v bat . when on v bat the output is hi-z. table 46. tsl bit - pin_io control register (address 27h) bit symbol value description 5tsl ts pin input sense 0 [1] active high 1 active low table 47. tspm[1:0] bits - pin_io control register (address 27h) bit symbol value description 3 to 2 tspm[1:0] ts pin io mode 00 [1] disabled; input can be left floating 01 intb output; push-pull 10 clk output; push-pull 11 input mode (1) not available on all package types. fig 28. ts pin vdpsoh lqyhuw phfkdqlfdo vzlwfkghwhfwru yggblqw n  n 76 &/.,17% slq  vdpsohforfn 76/ lqsxwgdwd ,17%gdwd forfngdwd ddd
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 52 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.12.4.2 ts pin output mode; clk it is possible to output a clock frequency on the ts pin. clock frequency is selected with the cof[2:0] bits in the function register ( section 8.13 on page 54 ). the output is push-pull. no output is available when on v bat . when on v bat the output is hi-z. 8.12.4.3 ts pin disabled when disabled the pin is hi-z and can be left floating. 8.12.5 tsim: ts pin input type control [1] default value. in cmos input mode (tsim = 0), input is taken directly from the ts pin. the input is conditioned by the setting of tsl. wh en operating on the battery voltage (v bat ), the input is disabled and is allowed to float. in mechanical switch detector mode (tsim = 1), t he ts pin is sampled at a rate of 16 hz for a period of 30.5 ? s. at the same time as the sample a pull-up resistor is activated to detect an open pin or a pin shorted to v ss . the input is referenced to the internal power supply. this mode operates when on v dd or v bat . the pull-up resistor value can be controlled by tspull bit in the pin_io register (see section 8.12 on page 50 ). 8.12.5.1 ts pin input mode there are two input types which are controlled by the tsim bit. the ts input can be used to generate a timestamp event by configurin g the timestamp mode bits; tsr2m[2:0] and tsr1m[1:0] bits in tsr_mode register (see table 20 on page 30 ). also it is possible to use the ts pin to control counting of time. this is typically for use with the stop-watch mode where an elapsed time counter function can be implemented. using the stopm bit in the function register (see table 51 on page 54 ) it is possible to control the stop bit by the ts pin. 8.12.6 intapm[1:0]: inta pin mode control [1] default value. table 48. tsim bit - pin_io control register (address 27h) bit symbol value description 4tsim ts pin input mode 0 [1] cmos input; reference to v dd ; disabled when on v bat 1 mechanical switch mode; active pull-up sampled at 16 hz; operates on v dd and v bat table 49. intapm[1:0] bits - pin_io control register (address 27h) bit symbol value description 1 to 0 intapm[1:0] inta pin mode 00 [1] clk output mode 01 battery mode indication 10 inta output 11 hi-z
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 53 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus the inta pin can be used to output three different signals. 8.12.6.1 intapm[1:0]: inta the primary function of the inta pin is to output inta data. inta data is controlled by the bits of the inta_enable register (see table 29 on page 39 ). the output is active low with an open-drai n output. the output is available during v dd and v bat operation. 8.12.6.2 intapm[1:0]: clock data it is possible to output a clock frequency on the inta pin. clock frequency is selected with the cof[2:0] bits in the function register ( section 8.13 on page 54 ). the output is active low with an open-drain output. the output is available only during v dd operation. the output is hi-z when operating from v bat . remark: clock output is the default state. to save power, it is recommended to disable the clock when not being used. if no clock is required, then set cof[2:0] in the function register ( section 8.13 on page 54 ) to clk disabled. if clock outp ut is only required on the clk pin, then set the inta pin to either inta data or battery mode. 8.12.6.3 intapm[1:0]: ba ttery mode indication it is possible to output the stat e of the power switch on the inta pin. the output has an open-drain output. the output is available during v dd and v bat operation. fig 29. inta pin ,17$ &/. edwwhu\prg h forfngdwd ,17$gdwd ddd table 50. inta battery mode power supply inta pin state v dd inta = hi-z v bat inta = logic 0
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 54 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.13 function register 8.13.1 100th: 100th seconds mode [1] default value. the PCF85263A can be configured to count at a resolution of 1 second or 0.01 seconds. in 100th mode, the 100th_seconds register becomes available and the rtc counts at a resolution of 0.01 seconds. the 256 hz clock signal is divided by 3 for fourteen 100 hz periods and then by 2 for eleven 100 hz periods. this produces an effective division ratio of 2.56 with a maximum jitter of 3.91 ms. over twenty-five 100 hz cycles the jitter is 0 ns. 8.13.2 pi[1:0]: periodic interrupt [1] default value. the periodic interrupt mode can be used to enable pre-defined timers for generating pulses on the interrupt pin. interrupts once per second, once per minute or once per hour can be generated. when disabled, the timers are reset. when enabl ed, the time to the first pulse is between the chosen period and the chosen period minus 1 seconds. the timers are not affected by stop. when the periodic interrupt triggers, th e pif (pi flag) in the flags register ( section 8.14 on page 57 ) is set. the flag does not have to be cleared to allow another inta or intb pulse. the duration of the periodic interrupt is unaffected by offset calibration. see section 8.9 ? interrupts ? for a description of interrupt pulse control and output pins. table 51. function - chip function control register (address 28h) bit description bit 7 6 5 4 3 2 1 0 symbol 100th pi[1:0] rtcm stopm cof[2:0] section section 8.13.1 section 8.13.2 section 8.13.3 section 8.13.4 section 8.13.5 table 52. 100th bit - function control register (address 28h) bit symbol value description 7100th 100th second mode 0 [1] 100th second disabled 1 100th second enabled table 53. pi[1:0] bits - function control register (address 28h) bit symbol value description 6 to 5 pi[1:0] periodic interrupt 00 [1] no periodic interrupt 01 once per second 10 once per minute 11 once per hour
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 55 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.13.3 rtcm: rtc mode [1] default value. the rtc mode is used to control how the time is counted. when configured as a classic rtc, then time is counted fr om 100th seconds to years. in stop-watch mode, time is counted from 100th seconds to 999999 hours. [1] enabled with 100th bit in the function register ( section 8.13 on page 54 ). 8.13.4 stopm: stop mode control [1] default value. the stop register bit in the oscillator register ( section 8.10 on page 42 ) is used to stop the counting of time in both rtc mode and stop-watch mode. stopping of the oscillator can also be controlled from the ts pin. the ts pin must first be configured as an input by the tspm[1:0] bits, then selected for active high or active low by the tsl bits. [1] in the oscillator register ( section 8.10 on page 42 ). [2] tspm[1:0] = 11. table 54. rtcm bit - function control register (address 28h) bit symbol value description 4rtcm rtc mode 0 [1] real-time clock mode 1 stop-watch mode table 55. rtc time counting modes rtcm mode time counting 0 rtc 100th seconds [1] , seconds, minutes, hours, days, weekdays, months, years 1 stop-watch 100th seconds [1] , seconds, minutes, hours (0 hours to 999999 hours) table 56. stopm bit - function co ntrol register (address 28h) bit symbol value description 3stopm stop mode 0 [1] rtc stop is controlled by stop bit only 1 rtc stop is controlled by stop bit or ts pin table 57. oscillator stop control when stopm = 1 stop bit [1] tsl ts pin [2] oscillator state description 0 0 0 running ts pin active high 1 stopped 1 0 stopped ts pin active low 1 running 1 - - stopped ts pin ignored
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 56 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.13.5 cof[2:0]: clock output frequency [1] default value. a programmable square wave is available at pin clk. operation is controlled by the cof[2:0] bits. frequencies of 32.768 khz (default) down to 1 hz can be generated for use as a system clock, microcontroller clock, input to a charge pump, or for calibration of the oscillator. pin clk is a push-pull output and enabled at power-on. pin clk can be disabled by setting clkpm = 1 in the pin_io register ( section 8.12 on page 50 ). when disabled, the clk pin is low. the selected clock frequency may also be output on the ts pin and the inta pin. the clkiv bit may be used to invert the clock out put. clkiv does not invert for the setting cof[2:0] = 111. the duty cycle of the selected clock is not c ontrolled. however, due to the nature of the clock generation, all clock frequencies except 32.768 khz have a duty cycle of 50 : 50. [1] duty cycle definition: % high-level time : % low-level time. [2] default value. [3] 1 hz clock pulses are not affected by offset correction pulses. table 58. cof[2:0] bits - function control register (address 28h) bit symbol value frequency selection (hz) clk pin ts pin inta pin 2 to 0 cof[2:0] 000 [1] 32768 32768 32768 001 16384 16384 16384 010 8192 8192 8192 011 4096 4096 4096 100 2048 2048 2048 101 1024 1024 1024 110 1 1 1 111 static low static low hi-z table 59. clock duty cycles cof[2:0] frequency (hz) typical duty cycle [1] 000 [2] 32768 60 : 40 to 40 : 60 001 16384 50 : 50 010 8192 50 : 50 011 4096 50 : 50 100 2048 50 : 50 101 1024 50 : 50 110 1 [3] 50 : 50 111 static -
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 57 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.14 flags register [1] default value. the flags are set by their respective function . a full description can be found there. all flags behave the same way. they are set by some function of the ic and remain set until overwritten by command. it is possible to clear flags individually. to prevent one flag being overwritten while clearing another, a logic an d is performed during a write access. all flags are combined to generate an event monitoring signal called emon. emon is described in section 8.2.3 on page 15 and can be read as the msb of minutes register. table 60. flags - flag status register (address 2bh) bit description bit symbol flag name value description 7 pif periodic interrupt flag section 8.13.2 on page 54 0 [1] read: periodic interrupt flag inactive write: periodic interrupt flag is cleared 1 read: periodic interrupt flag active write: periodic interrupt flag remains unchanged 6 a2f alarm2 flag section 8.4 on page 19 0 [1] read: alarm2 flag inactive write: alarm2 flag is cleared 1 read: alarm2 flag active write: alarm2 flag remains unchanged 5 a1f alarm1 flag section 8.4 on page 19 0 [1] read: alarm1 flag inactive write: alarm1 flag is cleared 1 read: alarm1 flag active write: alarm1 flag remains unchanged 4 wdf watchdog flag section 8.5 on page 26 0 [1] read: watchdog flag inactive write: watchdog flag is cleared 1 read: watchdog flag active write: watchdog flag remains unchanged 3 bsf battery switch flag section 8.11 on page 44 0 [1] read: battery switch flag inactive write: battery switch flag is cleared 1 read: battery switch flag active write: battery switch flag remains unchanged 2tsr 1 3f timestamp register 3 event flag section 8.7 on page 28 0 [1] read: timestamp register 3 flag inactive write: timestamp register 3 flag is cleared 1 read: timestamp register 3 flag active write: timestamp register 3 flag remains unchanged 1 tsr2f timestamp register 2 event flag section 8.7 on page 28 0 [1] read: timestamp register 2 flag inactive write: timestamp register 2 flag is cleared 1 read: timestamp register 2 flag active write: timestamp register 2 flag remains unchanged 0 tsr1f timestamp register 1 event flag section 8.7 on page 28 0 [1] read: timestamp register 1 flag inactive write: timestamp register 1 flag is cleared 1 read: timestamp register 1 flag active write: timestamp register 1 flag remains unchanged
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 58 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.15 reset register for a ? software reset (sr), 00101100 (2ch) must be sent to register reset (address 2fh). a software reset also triggers cpr and cts ? clear prescaler (cpr), 10100100 (a4h) must be sent to register reset (address 2fh) ? clear timestamp (cts),00100101 (25h) must be sent to register reset (address 2fh) it is possible to combine cpr and cts by sending 10100101 (a5h). remark: any other value sent to this register is ignored. 8.15.1 sr - software reset a reset is automatically generated at power-o n. a reset can also be initiated with the software reset command. the PCF85263A resets to: mode ? real-time clock, 100th second off time ? 00:00:00.00 date ? 2000.01.01 weekday ? saturday battery switch ? on, switching on the lower threshold voltage oscillator ? c l =7pf pins ? inta = 32 khz output, clk = 32 khz output, ts = disabled in the reset state, all registers are set according to table 62 . table 61. reset - software reset control (address 2fh) bit description bit 7 6 5 4 3 2 1 0 symbol cpr 0 1 0 sr 1 0 cts section section 8.15.2 section 8.15.1 section 8.15.3 fig 30. software reset command v  $$ $ 36 6'$ 6&/ vodyhdgguhvv dgguhvv)k vriwzduhuhvhw&k 5: ddd lqwhuqdo uhvhwvljqdo
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 59 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus table 62. registers reset values registers labeled as - remain unchanged. address register name bit 7 6 5 4 3 2 1 0 00h 100th_seconds 0 0 0 0 0 0 0 0 01h seconds 1 0 0 0 0 0 0 0 02h minutes 00000000 03h hours 00000000 04h days 00000001 05h weekdays 00000110 06h months 00000001 07h years 00000000 08h second_alarm1 - - - - - - - - second_alm1 09h minute_alarm1-------- minute_alm1 0ah hour_alarm1 -------- hr_xx_xx_00_alm1 0bh day_alarm1 -------- hr_xx_00_xx_alm1 0ch month_alarm1 - - - - - - - - hr_00_xx_xx_alm1 0dh minute_alarm2-------- minute_alm2 0eh hour_alarm2 -------- hr_xx_00_alm2 0fh weekday_alarm2 - - - - - - - - hr_00_xx_alm2 10h alarm enables 0 0 0 0 0 0 0 0 11h to 16h timestamp 1 0 0 0 0 0 0 0 0 17h to 1ch timestamp 2 0 0 0 0 0 0 0 0 1dh to 22h timestamp 3 0 0 0 0 0 0 0 0 23h timestamp_mode 0 0 0 0 0 0 0 0 24h offset 00000000 25h oscillator 00000000 26h battery_switch 00000000 27h pin_io 00000000 28h function 00000000 29h inta_enable 00000000 2ah intb_enable 00000000 2bh flags 00000000
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 60 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 8.15.2 cpr: clear prescaler to set the time for rtc mode accurately or to clear the time in stop-watch mode, the clear prescaler instruction is needed. before sending th is instruction, it is recommended to first set stop either by the stop bit or by the ts pin (see stopm bit). see stop definition for an explan ation on using this instruction. 8.15.3 cts: clear timestamp the timestamp registers (address 11h to 22h) can be set to all 0 with this instruction. 8.16 stop_enable register [1] default value. the stop bit stops the time from counting in both rtc mode and stop-watch mode. for rtc mode stop is useful to set the time accurately. for stop-watch mode it is the start/stop control for the watch. the counter can also be controlled from the ts pin by configuring stopm in the function register ( section 8.13 on page 54 ). the internal stop signal is a combination of stop and the ts pin state. [1] requires stopm and tspm[1:0] to be configured. [2] tsl = 0 (active high) (pin_io register, address 27h). 2ch ram_byte 00000000 2dh watchdog 00000000 2fh reset 00000000 table 62. registers reset values ?continued registers labeled as - remain unchanged. address register name bit 7 6 5 4 3 2 1 0 table 63. stop_enable - control of stop bit (address 2eh) bit symbol value description 7 to 1 0 - 0000000 not used stop stop bit 0 [1] rtc clock runs 1 rtc clock is stopped table 64. counter stop signal stop bit ts pin [1] [2] stop signal counter 1 - 1 stopped - 1 1 stopped 0 0 0 running
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 61 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus the stop signal blocks the 8.192 khz clock from generating system clocks and freezes the time. in this state, the prescaler can be cleared with the cpr command in the resets register ( section 8.15 on page 58 ). remark: the output of clock frequencies is not affected. the time circuits can then be set and do not increment until the stop bit is released. the stop acts on the 8.192 khz signal. and because the i 2 c-bus or ts pin input is asynchronous to the crystal oscillator, the accuracy of restarting the time circuits is between zero and one 8.192 khz cycle (see figure 32 ). the first increment of the time circuits is between 0 s and 122 ? s after stop is released. the flow for accurately setting the time in rtc mode is: ? start an i 2 c access at register 2eh ? set stop bit ? send cpr instruction ? address counter rolls over to address 00h ? set time (100th second s, seconds to years) ? end i 2 c access ? wait for external time reference to in dicate that time counting should start ? start an i 2 c access at register 2eh ? clear stop bit (time starts counting from now) (1) stop is a combination of stop register bit and the ts pin when programmed for stop control. fig 31. cpr and stop bit functional diagram fig 32. stop release timing ddd 26&,//$ 725 26&,//$7256723 '(7(&725 vhwwlqjwkh26iodj gly +] +] vwrs  35(6&$/(5 5(6(7   + ]wlfn +]w lfn &35 ddd ?vwr?v +] vwrsuhohdvhg
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 62 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus ? end i 2 c access the flow for resetting time in stop-watch mode is: ? start an i 2 c access at register 2eh ? set stop bit ? send cpr instruction ? address counter will roll over to address 00h ? set time to 000000:00:00.00 ? end i 2 c access
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 63 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 9. i 2 c-bus interface the i 2 c-bus is for bidirectional, two-line communication between different ics. the two lines are a serial data line (sda) and a seri al clock line (scl). both lines must be connected to a positive supply via a pull-up resistor. data transfer may be initiated only when the bus is not busy. both data and cl ock lines remain high when the bus is not busy. the PCF85263A acts as a slave receiv er when being written to and as a slave transmitter when being read from. remark: when on v bat power, the interface is not accessible. 9.1 bit transfer one data bit is transferred during each clock pulse. the data on the sda line must remain stable during the high period of the clock puls e, as changes in the data line at this time are interpreted as stop or start conditions. fig 33. i 2 c read and write protocol ddd :u lwh $&.iurp vodyh 6 $ $ $ 3 vodyhdgguhvv zulwhgdwd zulwhgdwd zulwhgdwd $ 6 $ $ $ 3 uhdggdwd uhdggdwd uhdggdwd $ 5h dg $&.iurp vodyh $&.iurp vodyh $&.iurp pdvwhu vodyhdgguhvv $&.iurp vodyh $&.iurp vodyh $&.iurp pdvwhu $&.iurp vodyh fig 34. i 2 c read and write signaling 6 &/ 6' $ $&. $&. 6 3 ddd 6 &/ 6' $ elw elw $&. $&. 6 67$57 frqglwlrq 672 3 frqgl wlrq 3 $&.rivwe\wh iurpvodyh $&.riqge\wh iurpvodyh ,  & uhdgh[dpsoh ,  &zulwhh[dpsoh elw elw vwe\whvodyhdgguhvvzlwk5:  zulwhqge\wh 67$57 frqglwlrq 672 3 frqgl wlrq vwe\whvodyhdgguhvvzlwk5:  $&.rivwe\wh iurpvodyh $&.riqge\wh iurpvodyh elw elw elw elw  uhdgqge\wh
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 64 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 9.2 start and stop conditions a high-to-low transition of the data line while the clock is high is defined as the start condition - s. a low-to-high transition of the data line while the clock is high is defined as the stop condition - p (see figure 34 ). 9.3 acknowledge each byte of 8 bits is followed by an acknowledge cycle. an acknowledge is defined as logic 0. a not-acknowledge is defined as logic 1. when written to, the slave will generate an ackn owledge after the rece ption of each byte. after the acknowledge, another byte may be tr ansmitted. it is also possible to send a stop or start condition. when read from, the master receiver must generate an acknowledge after the reception of each byte. when the master receiver no longer requires bytes to be transmitter, it must generate a not-acknowledge. after the not-acknowledge, either a stop or start condition must be sent. a detailed description of the i 2 c-bus specification is given in ref. 14 ? um10204 ? .
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 65 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 10. interface protocol the PCF85263A uses the i 2 c interface for data transfer. interpretation of the data is determined by the interface protocol. 10.1 write protocol after the i 2 c slave address is transmitted, the PCF85263A requires that the register address pointer is defined. it can take the value 00h to 2fh. values outside of that range will result in the transfer being ignored, however th e slave will still respond with acknowledge pulses. after the register address is transmitted, writ e data is transmitted. the minimum number of data write bytes is 0 and the maximum number is unlimited. after each write, the address pointer increments by one. after address 2fh, the addr ess pointer will roll over to 00h. ? i 2 c start condition ? i 2 c slave address + write ? register address ? write data ? write data ? : ? write data ? i 2 c stop condition; an i 2 c re-start condition is also possible. 10.2 read protocol when reading the PCF85263A, reading starts at the current position of the address pointer. the address pointer for read data should first be defined by a write sequence. ? i 2 c start condition ? i 2 c slave address + write ? register address ? i 2 c stop condition; an i 2 c re-start condition is also possible. after setting the address pointer, a read can be executed. after the i 2 c slave address is transmitted, the pcf 85263a will immediately output read data. after each read, the address pointer increments by one. after address 2fh, the addr ess pointer will roll over to 00h. ? i 2 c start condition ? i 2 c slave address + read ? read data (master sends acknowledge bit) ? read data (master sends acknowledge bit) ? : ? read data (master sends not -acknowledge bit) ? i 2 c stop condition. an i 2 c re-start condition is also possible.
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 66 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus the master must indicate that the last byte has been read by generating a not-acknowledge after the last read byte. 10.3 slave addressing 10.3.1 slave address one i 2 c-bus slave address (1010 001) is reserved for the PCF85263A. the entire i 2 c-bus slave address byte is shown in table 65 . after a start condition, the i 2 c slave address has to be sent to the PCF85263A device. slave address can also be written in a hexadecimal format: ? a2h - write slave address ? a3h - read slave address table 65. i 2 c slave address byte slave address bit 7 6 5 4 3 2 1 0 msb lsb 1010001r/w
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 67 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 11. application design-in information in this application, stop-watch mode is used to implement an elapsed time counter. the ts pin is used with a mechanical switch to star t and stop the time. each time the time is stopped, timestamp2 is loaded with the current time and an interrupt is generated on the inta pin. the rtc must be configured correctly fo r this mode of operation. outlined in ta b l e 6 6 are the settings needed for this mode. in addition, the time must be set and any ot her configurations like battery switch-over, quartz oscillator driving mode, etc., which are depe ndent on the application. the sampler circuit shown in figure 35 will hold invalid data unt il the mechanical switch detector mode is enabled. it then requires a minimum of one sample period to initialize to the current ts pin level. it is recommended to enable the mechanical detector mode on the ts pin at least 62.5 ms before enabling t he ts event mode. failure to do so can result in a false first event. fig 35. application example vdpsoh lqyhuw phfkdqlfdo vzlwfkghwhfwru yggblqw 76slq  vdpsoh forfn+] 76/ ddd 6723 frqwuro 67230 7lph frxqwhu vwrs 765 ordg 765 iodj ,17$ jhq ,17$ 9 66
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 68 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus figure 36 shows the waveforms that can be expected. sample clock , vdd_int and stop are internal nodes. vdd_int is the supply which operates the ic and will be either v dd or v bat , depending on the state of the battery switch-over. ? at and before t1, sw1 is open (ts pin floating). the ts pin is sampled and the internal pull-up resistor will pull the pin high to vdd_int . no actions are taken by the ic. ? at t2, sw1 is still open. no action is taken by the ic. ? at t3, sw1 closes. the ts pin is now shorted to v ss . the ts pin has not been sampled yet, so no action is taken by the ic. ? at t4, sw1 is closed. the internal pull-up resistor is enabled, but ts pin remains low. the pin is then sampled and the low level detected. as the tsl bit was set for active low detection, the high-low transiti on of ts pin sampled triggers an event. stopm mode was configured to allow the ts pin to stop the time counting. as the tsl bit was set for active low, time counting stops when the ts pin is low. timestamp register 2 was configured to take a copy of the time on an event of the ts pin, hence tsr2 loads the time t4. tsr2f is also set. table 66. application configuration register section bit(s) state comment pin_io section 8.12 tspm[1:0] 11 ts pin in input mode pin_io section 8.12 tsim 1 select mechanical switch mode pin_io section 8.12 tsl 1 ts pin input is active low function section 8.13 stopm 1 allow ts pin to control stop tsriea 1 allow timestamps to create interrupts ilpa 0 generate interrupt pulses tsr_mode section 8.12 tsr2m[2:0] 101 last event mode for timestamp2 pin_io section 8.12 intapm[1:0] 10 output interrupt on inta fig 36. application example timing vdpsohforfn+] w w w w 76slq vzlwfk6: vwrs uxqqlqj vwrszdwfk 765 ,17$ rshq rshq forvhg vwrsshg uxqqlqj 765 w 76slqvdpsohg yg gblqw ior dwlqj 9 6 6 w ddd w
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 69 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus inta was configured to generate an interrupt when tsr2 loads a new time, hence an interrupt pulse is seen on inta . ? at t5, sw1 is opened. no action is taken by the ic. ? at t6, sw1 is open. the internal pull-up is active and the ts pin raises to vdd_int level. the high level is sampled and causes the stop signal to be released and time starts counting again. 12. internal circuitry 13. safety notes fig 37. device diode protection diagram of PCF85263A ddd 3&)$ 9'' &/. 2 6&, 966 26 &2 6&/ 6'$ 9%$ 7 76 ,17$ caution this device is sensitive to electrostatic di scharge (esd). observe precautions for handling electrostatic sensitive devices. such precautions are described in the ansi/esd s20.20 , iec/st 61340-5 , jesd625-a or equivalent standards.
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 70 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 14. limiting values [1] pass level; human body model (hbm) according to ref. 6 ? jesd22-a114 ? . [2] pass level; charged-device model (cdm), according to ref. 7 ? jesd22-c101 ? . [3] pass level; latch-up testing, according to ref. 8 ? jesd78 ? at maximum ambient temperature (t amb(max) ). [4] according to the store and transport requirements (see ref. 15 ? um10569 ? ) the devices have to be stored at a temperature of +8 ? c to +45 ? c and a humidity of 25 % to 75 %. table 67. limiting values in accordance with the absolute ma ximum rating system (iec 60134). symbol parameter conditions min max unit v dd supply voltage ? 0.5 +6.5 v i dd supply current ? 50 +50 ma v bat battery supply voltage ? 0.5 +6.5 v i bat battery supply current ? 50 +50 ma v i input voltage on pins scl, sda, osci, ts ? 0.5 +6.5 v v o output voltage ? 0.5 +6.5 v i i input current at any input ? 10 +10 ma i o output current at any output ? 10 +10 ma p tot total power dissipation - 300 mw v esd electrostatic discharge voltage hbm [1] - ? 3500 v cdm [2] PCF85263Atl - ? 1750 v PCF85263Att - ? 1000 v PCF85263Att1 - ? 2000 v i lu latch-up current [3] -2 0 0m a t stg storage temperature [4] ? 65 +150 ?c t amb ambient temperature operating device ? 40 +85 ?c
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 71 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 15. characteristics table 68. static characteristics v dd = 0.9 v to 5.5 v; v ss =0v; t amb = ? 40 ? c to +85 ? c; f osc = 32.768 khz; quartz r s =60k ? ; c l = 7 pf; all registers in reset state; unless otherwise specified. symbol parameter conditions min typ max unit supplies v dd supply voltage interface inactive; f scl =0hz [1] 0.9- 5.5v interface active; f scl = 400 khz [1] 1.8- 5.5v v bat battery supply voltage [1] 0.9- 5.5v i dd supply current clkout disabled; v dd =3.3v; interface inactive; f scl =0hz [2] battery switch enabled t amb =25 ?c - 320 480 na t amb =50 ?c - 370 550 na t amb =85 ?c - 590 885 na battery switch disabled [3] t amb =25 ?c - 280 420 na t amb =50 ?c - 330 500 na t amb =85 ?c - 550 825 na clkout disabled; v dd =3.3v; interface active; f scl = 400 khz -1 0- ? a reference voltage v th threshold voltage high falling v dd 2.42.62.8v high rising v dd 2.52.72.9v low falling v dd 1.31.41.5v low rising v dd 1.37 1.47 1.57 v reference voltage hysteresis - ? 50 - mv inputs [4] v i input voltage v ss -5 . 5v v il low-level input voltage v ss -0 . 3 v dd v v ih high-level input voltage 0.7v dd - v dd v i li input leakage current v i = v ss or v dd -0- ? a post esd event ? 0.5 - +0.5 ? a c i input capacitance [5] --7p f r pu(ts) pull-up resistance on pin ts 80 k ? mode [6] 68 80 92 k ? 40 k ? mode [6] 36 40 64 k ? outputs v oh high-level output voltage on pin clk, ts 0.8v dd -v dd v v ol low-level output voltage on pins sda, inta , clk, ts v ss -0 . 2 v dd v
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 72 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus [1] for reliable oscillator start-up at power-on: v dd(po)min =v dd(min) +0.3v. [2] measured after reset and clk disabled, level of inputs is v dd or v ss . [3] measured after reset, clk disabled, battery switch disabled and level of inputs is v dd or v ss . [4] the i 2 c-bus interface of PCF85263A is 5 v tolerant. [5] implicit by design. [6] see table 45 on page 50 . [7] see table 33 on page 42 . [8] integrated load capacitance, c l(itg) , is a calculation of c osci and c osco in series: . [9] see table 34 on page 43 . i oh high-level output current output source current; v oh = 2.9 v; v dd = 3.3 v; on pin clk, ts 13- ma i ol low-level output current output sink current; v ol =0.4v; v dd =3.3v on pin sda 3 8.5 - ma on pin inta 26- ma on pin clk 1 3 - ma on pin ts 1 3 - ma oscillator ? f osc /f osc relative oscillator frequency variation ? v dd = 200 mv; t amb =25 ?c - 0.075 - ppm t jit jitter time lowj = 0 [7] -5 0-n s lowj = 1 - 25 - ns c l(itg) integrated load capacitance on pins osco, osci; v dd =3.3v [8] c l = 6 pf 4.8 6 7.2 pf c l = 7 pf 5.6 7 8.4 pf c l = 12.5 pf 10 12.5 15 pf r s series resistance of the quartz; normal drive [9] -6 01 0 0k ? table 68. static characteristics ?continued v dd = 0.9 v to 5.5 v; v ss =0v; t amb = ? 40 ? c to +85 ? c; f osc = 32.768 khz; quartz r s =60k ? ; c l = 7 pf; all registers in reset state; unless otherwise specified. symbol parameter conditions min typ max unit c litg ?? c osci c osco ? ?? c osci c osco + ?? ------------------------------------------- - =
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 73 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus t amb =25 ? c; clkout disabled. (1) v dd =5.0v. (2) v dd =3.3v. fig 38. typical i dd with respect to f scl c l(itg) = 7 pf; clkout disabled; battery switched on. (1) v dd =5v. (2) v dd =3.3v. fig 39. typical i dd as a function of temperature ddd              ) 6&/  n+] , '' '' , '' ?$ ?$ ?$ ddd                 7 dpe  ?& , '' '' , '' q$ q$ q$      
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 74 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus t amb =25 ? c; f clkout = 32768 hz. (1) 47 pf clkout load. (2) 22 pf clkout load. (3) 0 pf clkout load. t amb =25 ? c; clkout disabled. (1) c l(itg) = 12.5 pf. (2) c l(itg) =7pf. (3) c l(itg) =6pf. fig 40. typical i dd with respect to v dd ddd               9 ''  9 , '' '' , '' ?$ ?$ ?$          ddd               9 ''  9 , '' '' , '' q$ q$ q$         
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 75 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus t amb =25 ? c. (1) c l(itg) = 12.5 pf. (2) c l(itg) =6pf. (3) c l(itg) =7pf. fig 41. oscillator frequency variation with respect to v dd ddd             9 ''  9 ?i ?i rvf rvf i i rvf rvf ?i rvf i rvf ssp ssp ssp         
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 76 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus [1] a detailed description of the i 2 c-bus specification is given in ref. 14 ? um10204 ? . [2] i 2 c-bus access time between two starts or between a start and a stop condition to this device must be less than one second. [3] a device must internally provide a hold time of at least 300 ns for the sda signal (with respect to the v ih(min) of the scl signal) to bridge the undefined region of the falling edge of scl. [4] the maximum t f for the sda and scl bus lines is specified at 300 ns . the maximum fall time for the sda output stage t f is specified at 250 ns. this allows series protection re sistors to be connected in between the sda and the scl pins and the sda/scl bus lines without exceeding the maximum specified t f . table 69. i 2 c-bus characteristics v dd = 1.8 v to 5.5 v; v ss =0v; t amb = ? 40 ? c to +85 ? c; f osc = 32.768 khz; quartz r s =60k ? ; c l = 7 pf; unless otherwise specified. all timing values are valid within the operat ing supply voltage and temperature range and referenced to v il and v ih with an input voltage swing of v ss to v dd [1] . symbol parameter conditions min max unit c b capacitive load for each bus line - 400 pf f scl scl clock frequency [2] 0 400 khz t hd;sta hold time (repeated) start condition 0.6 - ? s t su;sta set-up time for a repeated start condition 0.6 - ? s t low low period of the scl clock 1.3 - ? s t high high period of the scl clock 0.6 - ? s t r rise time of both sda and scl signals 20 300 ns t f fall time of both sda and scl signals [3] [4] 20 ? (v dd /5.5v) 300 ns t buf bus free time between a stop and start condition 1.3 - ? s t su;dat data set-up time 100 - ns t hd;dat data hold time 0 - ns t su;sto set-up time for stop condition 0.6 - ? s t vd;dat data valid time 0 0.9 ? s t vd;ack data valid acknowledge time 00.9 ? s t sp pulse width of spikes that must be suppressed by the input filter 050ns
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 77 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 16. application information fig 42. i 2 c-bus timing diagram; rise and fall times refer to 30 % and 70 % 6&/ 6'$ w +'67$ w 68'$7 w +''$7 w i w %8) w 6867$ w /2: w +,*+ w 9'$&. ddd w 68672 surwrfro 67$57 frqglwlrq 6 elw 06% $ elw $ elw 5: dfnqrzohgjh $ 6723 frqglwlrq 3  i 6&/ w u w 9''$7 fig 43. application diagram for PCF85263A 3&)$ 0$67(5 75$160,77(5 5(&(,9(5 26&, 26&2 966 6'$ 5 ddd 5 6&/ 6'$ ,  &exv 6&/ 6'$ 6&/ ,17$ 9%$7 9 '' 9 '' q) 5sxooxs 5 w u & e &/. 9'' 76 q)
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 78 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 17. test information 17.1 quality information ul component recognition this (component or material) is recognized by ul. representative samples of this component have been evaluated by ul and meet applicable ul requirements.
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 79 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 18. package outline fig 44. package outline sot96-1 (so8), PCF85263At 81,7 $ pd[ $  $  $  e s f '   (     h + ( / / s 4 = \ z y  5()(5(1&(6 287/,1( 9(56,21 (8523($1 352-(&7,21 ,668('$7( ,(& -('(& -(,7$ pp lqfkhv                         r r    ',0(16,216 lqfkglphqvlrqvduhghulyhgiurpwkhruljlqdoppgl phqvlrqv  1rwhv 3odvwlfruphwdosurwuxvlrqvripp lqfk pd[lpxp shuvlghduhqrwlqfoxghg 3odvwlfruphwdosurwuxvlrqvripp lqfk pd[lpxp shuvlghduhqrwlqfoxghg   627 ; z 0  $ $  $  e s ' + ( / s 4 ghwdlo; ( = h f / y 0 $ $   $   slqlqgh[   \ ( 06                              pp vfdoh 62sodvwlfvpdoorxwolqhsdfndj hohdgverg\zlgwkpp 627  
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 80 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus fig 45. package outline sot1197-1 (dfn2626-10), PCF85263Atl 5hihuhqfhv 2xwolqh yhuvlrq (xurshdq surmhfwlrq ,vvxhgdwh ,(& -('(& -(,7$ 627    vrwbsr   8qlw  pp pd[ qrp plq                      $ 'lphqvlrqv 1rwh 3odvwlfruphwdosurwuxvlrqvripppd[lpxpshuvlghduhqrwlqfoxghg ')1sodvwlfwkhupdohqkdqfhgh[wuhpho\wklqvpdoorxwolqhsdfndjhqrohdgv whuplqdoverg\[[pp 627  $  $   e'' k (( k    hh  n  /y  z  \  \    pp vfdoh & \ & \  ; ' ( % $ whuplqdo lqgh[duhd ghwdlo; $ $  $  ' k ( k n / e h  h $& % y & z whuplqdo lqgh[duhd    
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 81 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus fig 46. package outline sot505-1 (tssop8), PCF85263Att 81,7 $  $ pd[ $  $  e s / + ( / s z \ y f h '   (   =    5()(5(1&(6 287/,1( 9(56,21 (8523($1 352-(&7,21 ,668('$7( ,(& -('(& -(,7$ pp                  ? ?     ',0(16,216 ppduhwkhruljlqdoglphqvlrqv  1rwhv 3odvwlfruphwdosurwuxvlrqvripppd[lpxpshuvlghduh qrwlqfoxghg 3odvwlfruphwdosurwuxvlrqvripppd[lpxpshuvlghduh qrwlqfoxghg   627    z 0 e s ' = h       $ $  $  / s $   ghwdlo; / + ( ( f y 0 $ ; $ \  pp  vfdoh 76623sodvwlfwklqvkulqnvpd oorxwolqhsdfndjhohdgverg \zlgwkpp 627  slqlqgh[
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 82 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus fig 47. package outline sot552-1 (tssop10), PCF85263Att1 81,7 $  $ pd[ $  $  e s / + ( / s z \ y f h '   (   =    5()(5(1&(6 287/,1( 9(56,21 (8523($1 352-(&7,21 ,668('$7( ,(& -('(& -(,7$ pp                  ? ?     ',0(16,216 ppduhwkhruljlqdoglphqvlrqv  1rwhv 3odvwlfruphwdosurwuxvlrqvripppd[lpxpshuvlghduh qrwlqfoxghg 3odvwlfruphwdosurwuxvlrqvripppd[lpxpshuvlghduh qrwlqfoxghg   627    z 0 e s ' = h       $ $  $  / s $   ghwdlo; / + ( ( f y 0 $ ; $ \  pp  vfdoh 76623sodvwlfwklqvkulqnvpdoorxwolqhsdfndjhohdgve rg\zlgwkpp 627  slqlqgh[
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 83 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 19. handling information all input and output pins are protected ag ainst electrostatic discharge (esd) under normal handling. when handling metal-oxide semiconductor (mos) devices ensure that all normal precautions are taken as described in jesd625-a , iec 61340-5 or equivalent standards. 20. packing information for tape and reel packing information, please see: ? ref. 10 ? sot96-1_118 ? ? ref. 11 ? sot505-1_118 ? ? ref. 12 ? sot552-1_118 ? ? ref. 13 ? sot1197-1_115 ? 21. soldering of smd packages this text provides a very brief insight into a complex technology. a more in-depth account of soldering ics can be found in application note an10365 ?surface mount reflow soldering description? . 21.1 introduction to soldering soldering is one of the most common methods through which packages are attached to printed circuit boards (pcbs), to form electr ical circuits. the soldered joint provides both the mechanical and the electrical connection. th ere is no single sold ering method that is ideal for all ic packages. wave soldering is often preferred when through-hole and surface mount devices (smds) are mixed on one printed wiring board; however, it is not suitable for fine pitch smds. reflow soldering is ideal for the small pitches and high densities that come with increased miniaturization. 21.2 wave and reflow soldering wave soldering is a joining technology in which the joints are made by solder coming from a standing wave of liquid solder. the wave soldering process is suitable for the following: ? through-hole components ? leaded or leadless smds, which are glued to the surface of the printed circuit board not all smds can be wave soldered. packages with solder balls, and some leadless packages which have solder lands underneath the body, cannot be wave soldered. also, leaded smds with leads having a pitch smaller than ~0.6 mm cannot be wave soldered, due to an increased pr obability of bridging. the reflow soldering process involves applying solder paste to a board, followed by component placement and exposure to a temperature profile. leaded packages, packages with solder balls, and leadless packages are all reflow solderable. key characteristics in both wave and reflow soldering are:
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 84 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus ? board specifications, in cluding the board finish , solder masks and vias ? package footprints, including solder thieves and orientation ? the moisture sensitivit y level of the packages ? package placement ? inspection and repair ? lead-free soldering versus snpb soldering 21.3 wave soldering key characteristics in wave soldering are: ? process issues, such as application of adhe sive and flux, clinching of leads, board transport, the solder wave parameters, and the time during which components are exposed to the wave ? solder bath specifications, including temperature and impurities 21.4 reflow soldering key characteristics in reflow soldering are: ? lead-free versus snpb solderi ng; note that a lead-free reflow process usually leads to higher minimum peak temperatures (see figure 48 ) than a snpb process, thus reducing the process window ? solder paste printing issues including smearing, release, and adjusting the process window for a mix of large and small components on one board ? reflow temperature profile; this profile includ es preheat, reflow (in which the board is heated to the peak temperature) and cooling down. it is imperative that the peak temperature is high enough for the solder to make reliable solder joints (a solder paste characteristic). in addition, the peak temperature must be low enough that the packages and/or boards are not damaged. the peak temperature of the package depends on package thickness and volume and is classified in accordance with ta b l e 7 0 and 71 table 70. snpb eutectic process (from j-std-020d) package thickness (mm) package reflow temperature ( ?c) volume (mm 3 ) < 350 ? 350 < 2.5 235 220 ? 2.5 220 220 table 71. lead-free process (from j-std-020d) package thickness (mm) package reflow temperature ( ?c) volume (mm 3 ) < 350 350 to 2000 > 2000 < 1.6 260 260 260 1.6 to 2.5 260 250 245 > 2.5 250 245 245
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 85 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus moisture sensitivity precautions, as indicat ed on the packing, must be respected at all times. studies have shown that small packages reach higher temperatures during reflow soldering, see figure 48 . for further information on temperature profiles, refer to application note an10365 ?surface mount reflow soldering description? . msl: moisture sensitivity level fig 48. temperature profiles for large and small components 001aac844 temperature time minimum peak temperature = minimum soldering temperature maximum peak temperature = msl limit, damage level peak temperature
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 86 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 22. footprint information fig 49. footprint information for reflow soldering of sot96-1 (so8), PCF85263At vrwbiu rffxslhgduhd vroghuodqgv 'lphqvlrqvlqpp sodfhphqwdffxudf\?   ?  ?    
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 87 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus fig 50. footprint information for reflow soldering of sot1197-1 (dfn2626-10),PCF85263Atl 627 ',0(16,216lqpp )rrwsulqwlqirupdwlrqiruuhiorzvroghulqjri')1sdfndjh *hqhulfirrwsulqwsdwwhuq 5hihuwrwkhsdfndjhrxwolqhgudzlqjirudfwxdood\rxw %\ ' 6/[ 6/\ *[ *\ +[ +\     3  $\      63[ 63\   vroghuodqgsoxvvroghusdvwh rffxslhgduhd vroghuodqg vroghusdvwhghsrvlw vroghuuhvlvw '3 *[ *\ +[ +\ 63\ 6/\ %\ $\ q63\ q63[ 63[ 6/[   vrwbiu ,vvxhgdwh  
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 88 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus fig 51. footprint information for reflow soldering of sot505-1 (tssop8),PCF85263Att vrwbiu rffxslhgduhd vroghuodqgv 'lphqvlrqvlqpp             
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 89 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus fig 52. footprint information for reflow soldering of sot552-1 (tssop10), PCF85263Att1 vrwbiu 627 )rrwsulqwlqirupdwlrqiruuhiorzvroghulqjri76623sdfndjh vroghuodqg 'lphqvlrqvlqpp rffxslhgduhd   +\ +[ *\ 3 *\ +\ +[ 3     ,vvxhgdwh
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 90 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 23. appendix 23.1 real-time clock selection table 72. selection of real-time clocks type name alarm, timer, watchdog interrupt output interface i dd , typical (na) battery backup timestamp, tamper input aec-q100 compliant special features packages pcf8563 x 1 i 2 c 250 - - - - so8, tssop8, hvson10 pcf8564a x 1 i 2 c 250 - - - integrated oscillator caps wlcsp pca8565 x 1 i 2 c 600 - - grade 1 high robustness, t amb ??? 40 ? c to 125 ? c tssop8, hvson10 pca8565a x 1 i 2 c 600 - - - integrated oscillator caps, t amb ??? 40 ? c to 125 ? c wlcsp pcf85063 - 1 i 2 c 220 - - - basic functions only, no alarm hxson8 pcf85063a x 1 i 2 c 220 - - - tiny package so8, dfn2626-10 pcf85063b x 1 spi 220 - - - tiny package dfn2626-10 PCF85263A x 2 i 2 c 230 x x - time stamp, battery backup, stopwatch 1 100 s so8, tssop10, tssop8, dfn2626-10 pcf85263b x 2 spi 230 x x - time stamp, battery backup, stopwatch 1 100 s tssop10, dfn2626-10 pcf85363a x 2 i 2 c 230 x x - time stamp, battery backup, stopwatch 1 100 s, 64 byte ram tssop10, dfn2626-10 pcf85363b x 2 spi 230 x x - time stamp, battery backup, stopwatch 1 100 s, 64 byte ram tssop10, dfn2626-10 pcf8523 x 2 i 2 c 150 x - - lowest power 150 na in operation, fm+ 1 mhz so8, hvson8, tssop14, wlcsp pcf2123 x 1 spi 100 - - - lowest power 100 na in operation tssop14, hvqfn16 pcf2127 x 1 i 2 c and spi 500 x x - temperature compensated, quartz built in, calibrated, 512 byte ram so16
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 91 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus pcf2127a x 1 i 2 c and spi 500 x x - temperature compensated, quartz built in, calibrated, 512 byte ram so20 pcf2129 x 1 i 2 c and spi 500 x x - temperature compensated, quartz built in, calibrated so16 pcf2129a x 1 i 2 c and spi 500 x x - temperature compensated, quartz built in, calibrated so20 pca2129 x 1 i 2 c and spi 500 x x grade 3 temperature compensated, quartz built in, calibrated so16 pca21125 x 1 spi 820 - - grade 1 high robustness, t amb ??? 40 ? c to 125 ? c tssop14 table 72. selection of real-time clocks ?continued type name alarm, timer, watchdog interrupt output interface i dd , typical (na) battery backup timestamp, tamper input aec-q100 compliant special features packages
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 92 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 24. abbreviations 25. references [1] an10365 ? surface mount reflow soldering description [2] an10366 ? hvqfn application information [3] iec 60134 ? rating systems for electronic tu bes and valves and analogous semiconductor devices [4] iec 61340-5 ? protection of electronic devices from electrostatic phenomena [5] ipc/jedec j-std-020 ? moisture/reflow sensitivity classification for nonhermetic solid state surface mount devices [6] jesd22-a114 ? electrostatic discharge (esd) sensitivity testing human body model (hbm) [7] jesd22-c101 ? field-induced charged-device model test method for electrostatic-discharge-withstand thresh olds of microelectronic components [8] jesd78 ? ic latch-up test [9] jesd625-a ? requirements for handling elec trostatic-discharge-sensitive (esds) devices [10] sot96-1_118 ? so8; reel pack; smd, 13", packing information [11] sot505-1_118 ? tssop8; reel pack; smd, 13", packing information [12] sot552-1_118 ? tssop10; reel pack; smd, 13", packing information [13] sot1197-1_115 ? dfn2626-10 ; reel pack; smd, 7", packing information [14] um10204 ? i 2 c-bus specification and user manual [15] um10569 ? store and transport requirements table 73. abbreviations acronym description bcd binary coded decimal cmos complementary metal oxide semiconductor esd electrostatic discharge hbm human body model i 2 c inter-integrated circuit ic integrated circuit lsb least significant bit msb most significant bit msl moisture sensitivity level pcb printed-circuit board por power-on reset rtc real-time clock scl serial clock line sda serial data line smd surface mount device
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 93 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 26. revision history table 74. revision history document id release date data sheet status change notice supersedes PCF85263A v.2 20140710 product data sheet - PCF85263A v.1 modifications: ? added section 17.1 and related information ? corrected table 60 ? corrected rise and fall time specification according to the i 2 c standard, see ta b l e 6 9 ? adjusted section 8.8 PCF85263A v.1 20140418 product data sheet - -
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 94 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 27. legal information 27.1 data sheet status [1] please consult the most recently issued document before initiating or completing a design. [2] the term ?short data sheet? is explained in section ?definitions?. [3] the product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple device s. the latest product status information is available on the internet at url http://www.nxp.com . 27.2 definitions draft ? the document is a draft versi on only. the content is still under internal review and subject to formal approval, which may result in modifications or additions. nxp semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall hav e no liability for the consequences of use of such information. short data sheet ? a short data sheet is an extract from a full data sheet with the same product type number(s) and title. a short data sheet is intended for quick reference only and should not be relied upon to contain detailed and full information. for detailed and full information see the relevant full data sheet, which is available on request vi a the local nxp semiconductors sales office. in case of any inconsistency or conflict with the short data sheet, the full data sheet shall prevail. product specification ? the information and data provided in a product data sheet shall define the specification of the product as agreed between nxp semiconductors and its customer , unless nxp semiconductors and customer have explicitly agreed otherwis e in writing. in no event however, shall an agreement be valid in which the nxp semiconductors product is deemed to offer functions and qualities beyond those described in the product data sheet. 27.3 disclaimers limited warranty and liability ? information in this document is believed to be accurate and reliable. however, nxp semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such info rmation. nxp semiconductors takes no responsibility for the content in this document if provided by an information source outside of nxp semiconductors. in no event shall nxp semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory. notwithstanding any damages that customer might incur for any reason whatsoever, nxp semiconductors? aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the terms and conditions of commercial sale of nxp semiconductors. right to make changes ? nxp semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. this document supersedes and replaces all information supplied prior to the publication hereof. suitability for use ? nxp semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an nxp semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. nxp semiconductors and its suppliers accept no liability for inclusion and/or use of nxp semiconducto rs products in such equipment or applications and therefore such inclusion and/or use is at the customer?s own risk. applications ? applications that are described herein for any of these products are for illustrative purpos es only. nxp semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. customers are responsible for the design and operation of their applications and products using nxp semiconductors products, and nxp semiconductors accepts no liability for any assistance with applications or customer product design. it is customer?s sole responsibility to determine whether the nxp semiconductors product is suitable and fit for the customer?s applications and products planned, as well as fo r the planned application and use of customer?s third party customer(s). customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. nxp semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer?s applications or products, or the application or use by customer?s third party customer(s). customer is responsible for doing all necessary testing for the customer?s applic ations and products using nxp semiconductors products in order to av oid a default of the applications and the products or of the application or use by customer?s third party customer(s). nxp does not accept any liability in this respect. limiting values ? stress above one or more limiting values (as defined in the absolute maximum ratings system of iec 60134) will cause permanent damage to the device. limiting values are stress ratings only and (proper) operation of the device at these or any other conditions above those given in the recommended operating conditions section (if present) or the characteristics sections of this document is not warranted. constant or repeated exposure to limiting values will permanently and irreversibly affect the quality and reliability of the device. terms and conditions of commercial sale ? nxp semiconductors products are sold subject to the gener al terms and conditions of commercial sale, as published at http://www.nxp.com/profile/terms , unless otherwise agreed in a valid written individual agreement. in case an individual agreement is concluded only the terms and conditions of the respective agreement shall apply. nxp semiconductors hereby expressly objects to applying the customer?s general terms and conditions with regard to the purchase of nxp semiconducto rs products by customer. no offer to sell or license ? nothing in this document may be interpreted or construed as an offer to sell products t hat is open for acceptance or the grant, conveyance or implication of any lic ense under any copyrights, patents or other industrial or intellectual property rights. document status [1] [2] product status [3] definition objective [short] data sheet development this document contains data from the objecti ve specification for product development. preliminary [short] data sheet qualification this document contains data from the preliminary specification. product [short] data sheet production this document contains the product specification.
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 95 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus export control ? this document as well as the item(s) described herein may be subject to export control regu lations. export might require a prior authorization from competent authorities. non-automotive qualified products ? unless this data sheet expressly states that this specific nxp semicon ductors product is automotive qualified, the product is not suitable for automotive use. it is neither qualified nor tested in accordance with automotive testing or application requirements. nxp semiconductors accepts no liabili ty for inclusion and/or use of non-automotive qualified products in automotive equipment or applications. in the event that customer uses t he product for design-in and use in automotive applications to automotive specifications and standards, customer (a) shall use the product without nxp semiconductors? warranty of the product for such automotive applicat ions, use and specifications, and (b) whenever customer uses the product for automotive applications beyond nxp semiconductors? specifications such use shall be solely at customer?s own risk, and (c) customer fully indemnifies nxp semiconductors for any liability, damages or failed product claims resulting from customer design and use of the product for automotive app lications beyond nxp semiconductors? standard warranty and nxp semiconduct ors? product specifications. translations ? a non-english (translated) version of a document is for reference only. the english version shall prevail in case of any discrepancy between the translated and english versions. 27.4 trademarks notice: all referenced brands, produc t names, service names and trademarks are the property of their respective owners. i 2 c-bus ? logo is a trademark of nxp semiconductors n.v. 28. contact information for more information, please visit: http://www.nxp.com for sales office addresses, please send an email to: salesaddresses@nxp.com
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 96 of 100 continued >> nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 29. tables table 1. ordering information . . . . . . . . . . . . . . . . . . . . .2 table 2. ordering options . . . . . . . . . . . . . . . . . . . . . . . . .2 table 3. marking codes . . . . . . . . . . . . . . . . . . . . . . . . . .2 table 4. pin description . . . . . . . . . . . . . . . . . . . . . . . . . .6 table 5. rtc mode time registers . . . . . . . . . . . . . . . . . .9 table 6. stop-watch mode time registers . . . . . . . . . . . 11 table 7. control and function registers overview . . . . . .13 table 8. time and date registers in rtc mode (rtcm = 0). . . . . . . . . . . . . . . . . . . . . . . . . . . .14 table 9. bcd coding . . . . . . . . . . . . . . . . . . . . . . . . . . .15 table 10. weekday assignments . . . . . . . . . . . . . . . . . . .16 table 11. month assignments in bcd format . . . . . . . . . .16 table 12. time registers in stop-watch mode (rtcm = 1). . . . . . . . . . . . . . . . . . . . . . . . . . . .18 table 13. alarm1 and alarm2 registers in rtc mode coded in bcd (rtcm = 0) . . . . . . . . . . . . . . . .20 table 14. alarm_enables- alarm enable control register (address 10h) bit description . . . . . . . . . . . . . . . . . . . . . . . . . . . .20 table 15. alarm1 and alarm2 registers in stop-watch mode coded in bcd (rtcm = 1) . . . . . . . . . . .23 table 16. alarm_enables- alarm enable control register (address 10h) bit description . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 table 17. watchdog - watchdog control and register (address 2dh) bit description . . . . . . . . . . . . . .26 table 18. watchdog durations . . . . . . . . . . . . . . . . . . . . .26 table 19. ram_byte - 8-bit ram register (address 2ch) bit description . . . . . . . . . . . . . .28 table 20. tsr_mode - timestamp mode control register (address 23h) bit description . . . . . . . . . . . . . .30 table 21. timestamp registers in rtc mode (rtcm = 0). . . . . . . . . . . . . . . . . . . . . . . . . . . .32 table 22. timestamp registers in stop-watch mode (rtcm = 1). . . . . . . . . . . . . . . . . . . . . . . . . . . .33 table 23. offset - offset register (address 24h) bit description . . . . . . . . . . . . . . . . . . . . . . . . . . . .34 table 24. offm bit - oscillator control register (address 25h) . . . . . . . . . . . . . . . . . . . . . . . . . .34 table 25. offset values . . . . . . . . . . . . . . . . . . . . . . . . . .34 table 26. correction pulses for offm = 0 . . . . . . . . . . . .35 table 27. correction pulses for offm = 1 . . . . . . . . . . . .36 table 28. inta and intb interrupt control bits . . . . . . . . .39 table 29. definition of interrupt control bits . . . . . . . . . . .39 table 30. oscillator - oscillator control register (address 25h) bit description . . . . . . . . . . . . . .42 table 31. clkiv bit - osci llator control register (address 25h) . . . . . . . . . . . . . . . . . . . . . . . . . .42 table 32. 12_24 bit - oscillator control register (address 25h). . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 33. lowj bit - oscillator control register (address 25h). . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 34. oscd[1:0] bits - oscillator control register (address 25h). . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 35. cl[1:0] bits - o scillator control register (address 25h). . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 36. io pin behavior in battery mode. . . . . . . . . . . . 44 table 37. battery_switch - battery switch control (address 26h) bit description . . . . . . . . . . . . . . 44 table 38. bsoff bit - battery switch control (address 26h) bit description . . . . . . . . . . . . . . 44 table 39. bsrr bit - battery switch control (address 26h) bit description . . . . . . . . . . . . . . 45 table 40. bsm[1:0] bits - battery switch control (address 26h) bit description . . . . . . . . . . . . . . 45 table 41. battery switch-over modes. . . . . . . . . . . . . . . . 45 table 42. bsth - battery switch control (address 26h) bit description . . . . . . . . . . . . . . 49 table 43. pin_io- pin input output control register (address 27h) bit description . . . . . . . . . . . . . . 50 table 44. clkpm bit - pin_io control register (address 27h). . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 45. tspull bit - pin_io control register (address 27h). . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 46. tsl bit - pin_io control register (address 27h). . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 47. tspm[1:0] bits - pin_io control register (address 27h). . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 48. tsim bit - pin_io control register (address 27h). . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 49. intapm[1:0] bits - pin_io control register (address 27h). . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 50. inta battery mode . . . . . . . . . . . . . . . . . . . . . . 53 table 51. function - chip function control register (address 28h) bit description . . . . . . . . . . . . . . 54 table 52. 100th bit - function control register (address 28h). . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 53. pi[1:0] bits - function control register (address 28h). . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 54. rtcm bit - function control register (address 28h). . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 55. rtc time counting modes . . . . . . . . . . . . . . . . 55 table 56. stopm bit - function control register (address 28h). . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 57. oscillator stop control when stopm = 1 . . . . . 55 table 58. cof[2:0] bits - function control register
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 97 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus (address 28h) . . . . . . . . . . . . . . . . . . . . . . . . . .56 table 59. clock duty cycles . . . . . . . . . . . . . . . . . . . . . . .56 table 60. flags - flag status register (address 2bh) bit description . . . . . . . . . . . . . .57 table 61. reset - software reset control (address 2fh) bit description . . . . . . . . . . . . . .58 table 62. registers reset values . . . . . . . . . . . . . . . . . . .59 table 63. stop_enable - control of stop bit (address 2eh) . . . . . . . . . . . . . . . . . . . . . . . . . .60 table 64. counter stop signal. . . . . . . . . . . . . . . . . . . . . .60 table 65. i 2 c slave address byte . . . . . . . . . . . . . . . . . . .66 table 66. application configuration . . . . . . . . . . . . . . . . .68 table 67. limiting values . . . . . . . . . . . . . . . . . . . . . . . . .70 table 68. static characteristics . . . . . . . . . . . . . . . . . . . .71 table 69. i 2 c-bus characteristics . . . . . . . . . . . . . . . . . . .76 table 70. snpb eutectic process (from j-std-020d) . . .84 table 71. lead-free process (from j-std-020d) . . . . . .84 table 72. selection of real-time clocks . . . . . . . . . . . . .90 table 73. abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . .92 table 74. revision history . . . . . . . . . . . . . . . . . . . . . . . .93
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 98 of 100 nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 30. figures fig 1. block diagram of PCF85263A . . . . . . . . . . . . . . . .3 fig 2. pin configuration for PCF85263At (so8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 fig 3. pin configuration for PCF85263Atl (dfn2626-10) . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 fig 4. pin configuration for PCF85263Att (tssop8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 fig 5. pin configuration for PCF85263Att1 (tssop10) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 fig 6. address register incrementing . . . . . . . . . . . . . . . .7 fig 7. register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 fig 8. time mode register set selection . . . . . . . . . . . . . .8 fig 9. os status bit . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 fig 10. data flow for the time function . . . . . . . . . . . . . . .17 fig 11. data flow for the stop-watch function. . . . . . . . . .19 fig 12. alarm1 and alarm2 function block diagram (rtc mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 fig 13. alarm1 and alarm2 function block diagram (stop-watch mode) . . . . . . . . . . . . . . . . . . . . . . . .25 fig 14. watchdog repeat mode . . . . . . . . . . . . . . . . . . . .27 fig 15. watchdog single shot mode . . . . . . . . . . . . . . . .28 fig 16. timestamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 fig 17. example battery switch-over timestamp . . . . . . .31 fig 18. example ts pin driven timestamp . . . . . . . . . . . .31 fig 19. offset calibration calculation workflow . . . . . . . . .37 fig 20. result of offset calibration . . . . . . . . . . . . . . . . . .38 fig 21. interrupt pulse width. . . . . . . . . . . . . . . . . . . . . . .40 fig 22. interrupt selection . . . . . . . . . . . . . . . . . . . . . . . .41 fig 23. threshold voltage switching hysteresis . . . . . . . .46 fig 24. switching at v th . . . . . . . . . . . . . . . . . . . . . . . . . .46 fig 25. switching at v bat . . . . . . . . . . . . . . . . . . . . . . . . .47 fig 26. switching at the higher of v bat or v th . . . . . . . . .48 fig 27. switching at the lower of v bat or v th . . . . . . . . . .49 fig 28. ts pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 fig 29. inta pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 fig 30. software reset command . . . . . . . . . . . . . . . . . . .58 fig 31. cpr and stop bit functional diagram . . . . . . . .61 fig 32. stop release timing . . . . . . . . . . . . . . . . . . . . . .61 fig 33. i 2 c read and write protocol . . . . . . . . . . . . . . . . .63 fig 34. i 2 c read and write signaling. . . . . . . . . . . . . . . . .63 fig 35. application example. . . . . . . . . . . . . . . . . . . . . . .67 fig 36. application example timing . . . . . . . . . . . . . . . . .68 fig 37. device diode protection diagram of PCF85263A . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69 fig 38. typical i dd with respect to f scl . . . . . . . . . . . . . .73 fig 39. typical i dd as a function of temperature . . . . . . .73 fig 40. typical i dd with respect to v dd . . . . . . . . . . . . . .74 fig 41. oscillator frequency variation with respect to v dd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75 fig 42. i 2 c-bus timing diagram; rise and fall times refer to 30 % and 70 % . . . . . . . . . . . . . . . . . . . .77 fig 43. application diagram for PCF85263A . . . . . . . . . .77 fig 44. package outline sot96-1 (so8), PCF85263At .79 fig 45. package outline sot1197-1 (dfn2626-10), PCF85263Atl . . . . . . . . . . . . . . . . . . . . . . . . . . .80 fig 46. package outline sot505-1 (tssop8), PCF85263Att . . . . . . . . . . . . . . . . . . . . . . . . . . 81 fig 47. package outline sot552-1 (tssop10), PCF85263Att1 . . . . . . . . . . . . . . . . . . . . . . . . . 82 fig 48. temperature profiles for large and small components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 fig 49. footprint information for reflow soldering of sot96-1 (so8), PCF85263At . . . . . . . . . . . . . . 86 fig 50. footprint information for reflow soldering of sot1197-1 (dfn2626-10),PCF85263Atl . . . . . 87 fig 51. footprint information for reflow soldering of sot505-1 (tssop8),PCF85263Att . . . . . . . . . 88 fig 52. footprint information for reflow soldering of sot552-1 (tssop10), PCF85263Att1 . . . . . . 89
PCF85263A all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights r eserved. product data sheet rev. 2 ? 10 july 2014 99 of 100 continued >> nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus 31. contents 1 general description . . . . . . . . . . . . . . . . . . . . . . 1 2 features and benefits . . . . . . . . . . . . . . . . . . . . 1 3 applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 4 ordering information . . . . . . . . . . . . . . . . . . . . . 2 4.1 ordering options . . . . . . . . . . . . . . . . . . . . . . . . 2 5 marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 6 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 7 pinning information . . . . . . . . . . . . . . . . . . . . . . 4 7.1 pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 7.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . 6 8 functional description . . . . . . . . . . . . . . . . . . . 7 8.1 registers organization overview. . . . . . . . . . . . 8 8.1.1 time mode registers . . . . . . . . . . . . . . . . . . . . . 8 8.1.1.1 rtc mode time registers overview (rtcm = 0). . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 8.1.1.2 stop-watch m ode time registers (rtcm = 1). . . . . . . . . . . . . . . . . . . . . . . . . . . 11 8.1.2 control registers overview . . . . . . . . . . . . . . . 13 8.2 rtc mode time and date registers. . . . . . . . . 14 8.2.1 definition of bcd . . . . . . . . . . . . . . . . . . . . . . 14 8.2.2 os: oscillator stop . . . . . . . . . . . . . . . . . . . . . 15 8.2.3 emon: event monitor . . . . . . . . . . . . . . . . . . . 15 8.2.4 definition of weekdays . . . . . . . . . . . . . . . . . . 16 8.2.5 definition of months . . . . . . . . . . . . . . . . . . . . 16 8.2.6 setting and reading the time in rtc mode. . . 17 8.3 stop-watch mode time registers . . . . . . . . . . . 18 8.3.1 setting and reading t he time in stop-watch mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 8.4 alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 8.4.1 alarms in rtc mode . . . . . . . . . . . . . . . . . . . 19 8.4.1.1 alarm1 and alarm2 registers in rtc mode . . 19 8.4.1.2 alarm1 and alarm2 control in rtc mode . . . . 20 8.4.1.3 alarm1 and alarm2 function in rtc mode . . . 21 8.4.2 alarms in stop-watch mode . . . . . . . . . . . . . . 23 8.4.2.1 alarm1 and alarm2 registers in stop-watch mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 8.4.2.2 alarm1 and alarm2 control in stop-watch mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 8.4.2.3 alarm1 and alarm2 function in stop-watch mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 8.4.3 alarm interrupts . . . . . . . . . . . . . . . . . . . . . . . 25 8.5 watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 8.5.1 watchdog functions . . . . . . . . . . . . . . . . . . . . 26 8.5.1.1 watchdog repeat mode . . . . . . . . . . . . . . . . . 27 8.5.1.2 watchdog single shot mode. . . . . . . . . . . . . . 27 8.5.1.3 watchdog interrupts . . . . . . . . . . . . . . . . . . . 28 8.6 ram byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 8.7 timestamps . . . . . . . . . . . . . . . . . . . . . . . . . . 28 8.7.1 timestamps interrupts . . . . . . . . . . . . . . . . . . 33 8.8 offset register . . . . . . . . . . . . . . . . . . . . . . . . 34 8.8.1 correction when offm = 0 . . . . . . . . . . . . . . 35 8.8.2 correction when offm = 1 . . . . . . . . . . . . . . 35 8.8.3 offset calibration workflow . . . . . . . . . . . . . . . 37 8.8.4 offset interrupts . . . . . . . . . . . . . . . . . . . . . . . 38 8.9 interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 8.9.1 ilpa/ilpb: interrupt level or pulse mode . . . . 39 8.9.2 interrupt enable bits . . . . . . . . . . . . . . . . . . . . 40 8.10 oscillator register . . . . . . . . . . . . . . . . . . . . . . 42 8.10.1 clkiv: invert the clock output . . . . . . . . . . . . 42 8.10.2 offm: offset calibration mode. . . . . . . . . . . . 42 8.10.3 12_24: 12 hour or 24 hour clock . . . . . . . . . . 42 8.10.4 lowj: low jitter mode . . . . . . . . . . . . . . . . . . 42 8.10.5 oscd[1:0]: quartz oscill ator drive control . . . 43 8.10.6 cl[1:0]: quartz oscillator load capacitance . . 43 8.11 battery switch register . . . . . . . . . . . . . . . . . . 44 8.11.1 bsoff: battery switch on/off control . . . . . . . 44 8.11.2 bsrr: battery switch in ternal refresh rate. . . 45 8.11.3 bsm[1:0]: battery switch mode . . . . . . . . . . . 45 8.11.3.1 switching at the v th level, bsm[1:0] = 00. . . . 46 8.11.3.2 switching at the v bat level, bsm[1:0] = 01 . . 47 8.11.3.3 switching at the higher of v bat or v th level, bsm[1:0] = 10 . . . . . . . . . . . . . . . . . . . . . . . . 48 8.11.3.4 switching at the lower of v bat and v th level, bsm[1:0] = 11 . . . . . . . . . . . . . . . . . . . . . . . . 49 8.11.4 bsth: threshold voltage control . . . . . . . . . . 49 8.11.5 battery switch interrupts . . . . . . . . . . . . . . . . 49 8.12 pin_io register . . . . . . . . . . . . . . . . . . . . . . . . 50 8.12.1 clkpm: clk pin mode control . . . . . . . . . . . 50 8.12.2 tspull: ts pin pull-up resistor value. . . . . . 50 8.12.3 tsl: ts pin level sense . . . . . . . . . . . . . . . . . 51 8.12.4 tspm[1:0]: ts pin i/o cont rol . . . . . . . . . . . . 51 8.12.4.1 ts pin output mode; intb . . . . . . . . . . . . . . . 51 8.12.4.2 ts pin output mode; clk. . . . . . . . . . . . . . . . 52 8.12.4.3 ts pin disabled . . . . . . . . . . . . . . . . . . . . . . . 52 8.12.5 tsim: ts pin input type control . . . . . . . . . . . 52 8.12.5.1 ts pin input mode . . . . . . . . . . . . . . . . . . . . . 52 8.12.6 intapm[1:0]: inta pin mode control . . . . . . . 52 8.12.6.1 intapm[1:0]: inta . . . . . . . . . . . . . . . . . . . . . 53 8.12.6.2 intapm[1:0]: clock data. . . . . . . . . . . . . . . . . 53 8.12.6.3 intapm[1:0]: battery mode indication . . . . . . 53 8.13 function register . . . . . . . . . . . . . . . . . . . . . . 54 8.13.1 100th: 100th seconds mode. . . . . . . . . . . . . 54 8.13.2 pi[1:0]: periodic interrupt . . . . . . . . . . . . . . . . 54 8.13.3 rtcm: rtc mode . . . . . . . . . . . . . . . . . . . . . 55
nxp semiconductors PCF85263A tiny rtc with alarm, battery switch-over, and i 2 c-bus ? nxp semiconductors n.v. 2014. all rights reserved. for more information, please visit: http://www.nxp.com for sales office addresses, please se nd an email to: salesaddresses@nxp.com date of release: 10 july 2014 document identifier: PCF85263A please be aware that important notices concerning this document and the product(s) described herein, have been included in section ?legal information?. 8.13.4 stopm: stop mode control . . . . . . . . . . . . . 55 8.13.5 cof[2:0]: clock output frequency . . . . . . . . . 56 8.14 flags register . . . . . . . . . . . . . . . . . . . . . . . . . 57 8.15 reset register . . . . . . . . . . . . . . . . . . . . . . . . . 58 8.15.1 sr - software reset . . . . . . . . . . . . . . . . . . . . 58 8.15.2 cpr: clear prescaler . . . . . . . . . . . . . . . . . . . 60 8.15.3 cts: clear timestamp . . . . . . . . . . . . . . . . . . 60 8.16 stop_enable register. . . . . . . . . . . . . . . . . . . . 60 9 i 2 c-bus interface . . . . . . . . . . . . . . . . . . . . . . . 63 9.1 bit transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 9.2 start and stop conditions . . . . . . . . . . . . . 64 9.3 acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . 64 10 interface protocol . . . . . . . . . . . . . . . . . . . . . . 65 10.1 write protocol . . . . . . . . . . . . . . . . . . . . . . . . . 65 10.2 read protocol . . . . . . . . . . . . . . . . . . . . . . . . . 65 10.3 slave addressing . . . . . . . . . . . . . . . . . . . . . . 66 10.3.1 slave address . . . . . . . . . . . . . . . . . . . . . . . . . 66 11 application design-in information . . . . . . . . . 67 12 internal circuitry. . . . . . . . . . . . . . . . . . . . . . . . 69 13 safety notes . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 14 limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 70 15 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 71 16 application information. . . . . . . . . . . . . . . . . . 77 17 test information . . . . . . . . . . . . . . . . . . . . . . . . 78 17.1 quality information . . . . . . . . . . . . . . . . . . . . . 78 18 package outline . . . . . . . . . . . . . . . . . . . . . . . . 79 19 handling information. . . . . . . . . . . . . . . . . . . . 83 20 packing information . . . . . . . . . . . . . . . . . . . . 83 21 soldering of smd packages . . . . . . . . . . . . . . 83 21.1 introduction to soldering . . . . . . . . . . . . . . . . . 83 21.2 wave and reflow soldering . . . . . . . . . . . . . . . 83 21.3 wave soldering . . . . . . . . . . . . . . . . . . . . . . . . 84 21.4 reflow soldering . . . . . . . . . . . . . . . . . . . . . . . 84 22 footprint information . . . . . . . . . . . . . . . . . . . 86 23 appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 23.1 real-time clock selection . . . . . . . . . . . . . . . 90 24 abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . 92 25 references . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 26 revision history . . . . . . . . . . . . . . . . . . . . . . . . 93 27 legal information. . . . . . . . . . . . . . . . . . . . . . . 94 27.1 data sheet status . . . . . . . . . . . . . . . . . . . . . . 94 27.2 definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 27.3 disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 27.4 trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . . 95 28 contact information. . . . . . . . . . . . . . . . . . . . . 95 29 tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 30 figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 31 contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99


▲Up To Search▲   

 
Price & Availability of PCF85263A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X